X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmmzone.h;h=19f299b7e256b93e4d8d1162153cc422ca1ceb72;hb=eb703027ac4ed563823e4d7824f68afed637d89a;hp=54958d6cae0440353ade0ff8a73f8668a52e5bac;hpb=1ef43204f4bd24dcd3156185b19b31b6b4151ae9;p=linux-2.6 diff --git a/include/asm-powerpc/mmzone.h b/include/asm-powerpc/mmzone.h index 54958d6cae..19f299b7e2 100644 --- a/include/asm-powerpc/mmzone.h +++ b/include/asm-powerpc/mmzone.h @@ -6,8 +6,8 @@ */ #ifndef _ASM_MMZONE_H_ #define _ASM_MMZONE_H_ +#ifdef __KERNEL__ -#include /* * generic non-linear memory support: @@ -43,8 +43,5 @@ extern unsigned long max_pfn; #endif /* CONFIG_NEED_MULTIPLE_NODES */ -#ifdef CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID -extern int __init early_pfn_to_nid(unsigned long pfn); -#endif - +#endif /* __KERNEL__ */ #endif /* _ASM_MMZONE_H_ */