diff options
author | Jon Loeliger <linuxppc@jdl.com> | 2005-09-17 10:39:46 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-19 09:38:50 +1000 |
commit | fbcd54b1e67ffa27f2b2ce087ee300138828d730 (patch) | |
tree | 626a265159b1feed80f72a78b027951d421d64d1 /include/asm-ppc64 | |
parent | 6c45ab992e4299c869fb26427944a8f8ea177024 (diff) |
[PATCH] powerpc: Merge simplified sections.h into asm-powerpc
Here is a new patch that removes all notion of the pmac, prep,
chrp and openfirmware initialization sections, and then unifies
the sections.h files without those __pmac, etc, sections identifiers
cluttering things up.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r-- | include/asm-ppc64/sections.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/asm-ppc64/sections.h b/include/asm-ppc64/sections.h deleted file mode 100644 index 308ca6f5ced..00000000000 --- a/include/asm-ppc64/sections.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef _PPC64_SECTIONS_H -#define _PPC64_SECTIONS_H - -extern char _end[]; - -#include <asm-generic/sections.h> - -#define __pmac -#define __pmacdata - -#define __prep -#define __prepdata - -#define __chrp -#define __chrpdata - -#define __openfirmware -#define __openfirmwaredata - - -static inline int in_kernel_text(unsigned long addr) -{ - if (addr >= (unsigned long)_stext && addr < (unsigned long)__init_end) - return 1; - - return 0; -} - -#endif |