diff options
author | Kirill A. Shutemov <[email protected]> | 2014-04-07 15:37:14 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-04-07 16:35:52 -0700 |
commit | 9164550ecd15253d72b5fe3b4baa9505c4b6fa1f (patch) | |
tree | 3f4c795c46a3046ce61fdc1a47a96e60427023c0 /tools/perf/scripts/python/sched-migration.py | |
parent | ab0e113f6bee71a3933755d2c9ae41fcee631800 (diff) |
mm: disable split page table lock for !MMU
There's no reason to enable split page table lock if don't have page
tables.
It also triggers build error at least on ARM since we don't define
pmd_page() for !MMU.
In file included from arch/arm/kernel/asm-offsets.c:14:0:
include/linux/mm.h: In function 'pte_lockptr':
include/linux/mm.h:1392:2: error: implicit declaration of function 'pmd_page' [-Werror=implicit-function-declaration]
include/linux/mm.h:1392:2: warning: passing argument 1 of 'ptlock_ptr' makes pointer from integer without a cast [enabled by default]
include/linux/mm.h:1384:27: note: expected 'struct page *' but argument is of type 'int'
Signed-off-by: Kirill A. Shutemov <[email protected]>
Reported-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions