[PATCH] mips: add MIPS-specific support for flatmem/discontigmem
2.6.12-git6 doesn't boot on some MIPS machines. They need the support of flat memory and discontig memory. Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
7919a693bd
commit
b4819b5937
@@ -350,7 +350,7 @@ static inline void update_mmu_cache(struct vm_area_struct *vma,
|
||||
__update_cache(vma, address, pte);
|
||||
}
|
||||
|
||||
#ifndef CONFIG_DISCONTIGMEM
|
||||
#ifndef CONFIG_NEED_MULTIPLE_NODES
|
||||
#define kern_addr_valid(addr) (1)
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user