X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-mips%2Fpgtable.h;h=d0af2a3b0152f2c7d2eadae2a1f1c4b6076fa5ac;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=a36ca1be17f25b829a171c7a475c0be54ed3e757;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h index a36ca1be1..d0af2a3b0 100644 --- a/include/asm-mips/pgtable.h +++ b/include/asm-mips/pgtable.h @@ -8,6 +8,7 @@ #ifndef _ASM_PGTABLE_H #define _ASM_PGTABLE_H +#include #ifdef CONFIG_32BIT #include #endif @@ -378,7 +379,9 @@ static inline void update_mmu_cache(struct vm_area_struct *vma, __update_cache(vma, address, pte); } +#ifndef CONFIG_NEED_MULTIPLE_NODES #define kern_addr_valid(addr) (1) +#endif #ifdef CONFIG_64BIT_PHYS_ADDR extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot);