[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>
This commit is contained in:
Luke Yang 2006-02-20 18:28:07 -08:00 committed by Linus Torvalds
parent c8b8b1f2e0
commit 7a9166e3b0
3 changed files with 8 additions and 0 deletions

View file

@ -1051,7 +1051,11 @@ int shrink_slab(unsigned long scanned, gfp_t gfp_mask,
void drop_pagecache(void);
void drop_slab(void);
#ifndef CONFIG_MMU
#define randomize_va_space 0
#else
extern int randomize_va_space;
#endif
#endif /* __KERNEL__ */
#endif /* _LINUX_MM_H */