]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/bootx.h
[POWERPC] Kill non-existent symbols from ksyms and commproc.h
[linux-2.6] / include / asm-powerpc / bootx.h
index ed626b7cbf22185011512df6c539d1f2368641cd..57b82e3f89cea36a1b332db5974e2efa047969c6 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef __ASM_BOOTX_H__
 #define __ASM_BOOTX_H__
 
+#include <asm/types.h>
+
 #ifdef macintosh
 #include <Types.h>
 #include "linux_type_defs.h"
@@ -122,6 +124,7 @@ typedef struct boot_infos
 
 } boot_infos_t;
 
+#ifdef __KERNEL__
 /* (*) The format of the colormap is 256 * 3 * 2 bytes. Each color index
  * is represented by 3 short words containing a 16 bits (unsigned) color
  * component. Later versions may contain the gamma table for direct-color
@@ -159,6 +162,8 @@ struct bootx_dt_node {
 
 extern void bootx_init(unsigned long r4, unsigned long phys);
 
+#endif /* __KERNEL__ */
+
 #ifdef macintosh
 #pragma options align=reset
 #endif