[PATCH] aic7xxx_osm build fix
[cris-mirror.git] / include / asm-ppc64 / sections.h
blob308ca6f5ced22fd231ba32b37f8a293241689777
1 #ifndef _PPC64_SECTIONS_H
2 #define _PPC64_SECTIONS_H
4 extern char _end[];
6 #include <asm-generic/sections.h>
8 #define __pmac
9 #define __pmacdata
11 #define __prep
12 #define __prepdata
14 #define __chrp
15 #define __chrpdata
17 #define __openfirmware
18 #define __openfirmwaredata
21 static inline int in_kernel_text(unsigned long addr)
23 if (addr >= (unsigned long)_stext && addr < (unsigned long)__init_end)
24 return 1;
26 return 0;
29 #endif