diff options
author | Luke Yang <luke.adi@gmail.com> | 2006-02-20 21:28:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-20 23:00:11 -0500 |
commit | 7a9166e3b037296366cea6f3c97f705d33e209e6 (patch) | |
tree | 275c713bc92309b6f90e5c66699753c0268c6be5 /include/linux/mm.h | |
parent | c8b8b1f2e0eeb91cca22211950742b5f51564672 (diff) |
[PATCH] Fix undefined symbols for nommu architecture
Signed-off-by: Luke Yang <luke.adi@gmail.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 26e1663a5cbe..498ff8778fb6 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -1051,7 +1051,11 @@ int shrink_slab(unsigned long scanned, gfp_t gfp_mask, | |||
1051 | void drop_pagecache(void); | 1051 | void drop_pagecache(void); |
1052 | void drop_slab(void); | 1052 | void drop_slab(void); |
1053 | 1053 | ||
1054 | #ifndef CONFIG_MMU | ||
1055 | #define randomize_va_space 0 | ||
1056 | #else | ||
1054 | extern int randomize_va_space; | 1057 | extern int randomize_va_space; |
1058 | #endif | ||
1055 | 1059 | ||
1056 | #endif /* __KERNEL__ */ | 1060 | #endif /* __KERNEL__ */ |
1057 | #endif /* _LINUX_MM_H */ | 1061 | #endif /* _LINUX_MM_H */ |