[PATCH] Kprobes: Track kprobe on a per_cpu basis - i386 changes
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-powerpc / sections.h
blob47be2ac2a925cef5caf37aec8b9e0caec8ae9da5
1 #ifndef _ASM_POWERPC_SECTIONS_H
2 #define _ASM_POWERPC_SECTIONS_H
4 #include <asm-generic/sections.h>
6 #ifdef __powerpc64__
8 extern char _end[];
10 static inline int in_kernel_text(unsigned long addr)
12 if (addr >= (unsigned long)_stext && addr < (unsigned long)__init_end)
13 return 1;
15 return 0;
18 #endif
20 #endif /* _ASM_POWERPC_SECTIONS_H */