diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-12-27 03:35:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-27 03:35:12 -0500 |
commit | 86ed40bd6fe511d26bb8f3fa65a84cb65c235366 (patch) | |
tree | 12ec939078887d6f5bc437cfd8ac34eff610c715 /arch/sparc/include/asm/sections.h | |
parent | b74e34dbdeb39136e0557930a373392b7d644f43 (diff) |
sparc: unify sections.h
While doing this use standard names for start/end
so we could use definitions straight from asm-generic
for all the typical symbols.
This also allowed us to drop the use of PROVIDE in the linker
script so sprc is less non-standard on this area.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/sections.h')
-rw-r--r-- | arch/sparc/include/asm/sections.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/arch/sparc/include/asm/sections.h b/arch/sparc/include/asm/sections.h index c7c69b00967f..0b0553bbd8a0 100644 --- a/arch/sparc/include/asm/sections.h +++ b/arch/sparc/include/asm/sections.h | |||
@@ -1,8 +1,10 @@ | |||
1 | #ifndef ___ASM_SPARC_SECTIONS_H | 1 | #ifndef __SPARC_SECTIONS_H |
2 | #define ___ASM_SPARC_SECTIONS_H | 2 | #define __SPARC_SECTIONS_H |
3 | #if defined(__sparc__) && defined(__arch64__) | 3 | |
4 | #include <asm/sections_64.h> | 4 | /* nothing to see, move along */ |
5 | #else | 5 | #include <asm-generic/sections.h> |
6 | #include <asm/sections_32.h> | 6 | |
7 | #endif | 7 | /* sparc entry point */ |
8 | extern char _start[]; | ||
9 | |||
8 | #endif | 10 | #endif |