X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh%2Fmmu_context.h;h=6760d064bd0233bfca2ac5217a5e42cf9b113283;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=c956ddea556bc6e3f0eec1b04e28d35be9e207e6;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-sh/mmu_context.h b/include/asm-sh/mmu_context.h index c956ddea5..6760d064b 100644 --- a/include/asm-sh/mmu_context.h +++ b/include/asm-sh/mmu_context.h @@ -6,6 +6,7 @@ */ #ifndef __ASM_SH_MMU_CONTEXT_H #define __ASM_SH_MMU_CONTEXT_H +#ifdef __KERNEL__ #include #include @@ -201,4 +202,5 @@ static inline void disable_mmu(void) #define disable_mmu() do { BUG(); } while (0) #endif +#endif /* __KERNEL__ */ #endif /* __ASM_SH_MMU_CONTEXT_H */