]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/asm-ppc64/sections.h
Linux-2.6.12-rc2
[mirror_ubuntu-artful-kernel.git] / include / asm-ppc64 / sections.h
CommitLineData
1da177e4
LT
1#ifndef _PPC64_SECTIONS_H
2#define _PPC64_SECTIONS_H
3
4extern char _end[];
5
6#include <asm-generic/sections.h>
7
8#define __pmac
9#define __pmacdata
10
11#define __prep
12#define __prepdata
13
14#define __chrp
15#define __chrpdata
16
17#define __openfirmware
18#define __openfirmwaredata
19
20
21static inline int in_kernel_text(unsigned long addr)
22{
23 if (addr >= (unsigned long)_stext && addr < (unsigned long)__init_end)
24 return 1;
25
26 return 0;
27}
28
29#endif