Files
linux/arch/x86/include/asm
David Rientjes c36e0501ee x86, paravirt: fix build error when thp is disabled
With CONFIG_PARAVIRT=y and CONFIG_TRANSPARENT_HUGEPAGE=n, the build breaks
because set_pmd_at() is undeclared:

  mm/memory.c: In function 'do_pmd_numa_page':
  mm/memory.c:3520: error: implicit declaration of function 'set_pmd_at'
  mm/mprotect.c: In function 'change_pmd_protnuma':
  mm/mprotect.c:120: error: implicit declaration of function 'set_pmd_at'

This is because paravirt defines set_pmd_at() only when
CONFIG_TRANSPARENT_HUGEPAGE=y and such a restriction is unneeded.  The
fix is to define it for all CONFIG_PARAVIRT configurations.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-18 09:49:03 -08:00
..
…
…
2011-08-29 13:44:12 -07:00
2012-11-29 13:23:02 -08:00
2012-03-28 18:11:12 +01:00
2012-09-19 17:26:08 +02:00
2012-03-28 18:11:12 +01:00
…
…
2012-03-28 18:11:12 +01:00
…
…
2012-11-14 15:28:11 -08:00
…
…
…
…
…
2012-03-28 18:11:12 +01:00
…
2012-11-29 13:23:02 -08:00
…
…
…
2012-03-20 21:48:30 +08:00
…
2011-11-11 10:22:55 +01:00
…
…
2012-06-25 13:48:30 +02:00
…
…
2011-07-22 14:39:50 +09:30
…
…
…
2012-11-29 13:23:02 -08:00
…
…
2012-01-26 21:23:53 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2012-12-11 14:28:35 +00:00
2012-12-11 14:42:36 +00:00
…
…
…
2011-08-29 13:44:12 -07:00
…
2012-02-20 12:52:05 -08:00
…
2012-03-28 18:11:12 +01:00
…
…
…
…
…
…
2012-03-28 18:11:12 +01:00
…
…
2012-09-21 17:18:44 -07:00