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/mm/sun4c.c | |
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/mm/sun4c.c')
-rw-r--r-- | arch/sparc/mm/sun4c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/mm/sun4c.c b/arch/sparc/mm/sun4c.c index ad0ce117f352..2ffacd67c424 100644 --- a/arch/sparc/mm/sun4c.c +++ b/arch/sparc/mm/sun4c.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/seq_file.h> | 18 | #include <linux/seq_file.h> |
19 | #include <linux/scatterlist.h> | 19 | #include <linux/scatterlist.h> |
20 | 20 | ||
21 | #include <asm/sections.h> | ||
21 | #include <asm/page.h> | 22 | #include <asm/page.h> |
22 | #include <asm/pgalloc.h> | 23 | #include <asm/pgalloc.h> |
23 | #include <asm/pgtable.h> | 24 | #include <asm/pgtable.h> |
@@ -1951,7 +1952,6 @@ void sun4c_update_mmu_cache(struct vm_area_struct *vma, unsigned long address, p | |||
1951 | } | 1952 | } |
1952 | 1953 | ||
1953 | extern void sparc_context_init(int); | 1954 | extern void sparc_context_init(int); |
1954 | extern unsigned long end; | ||
1955 | extern unsigned long bootmem_init(unsigned long *pages_avail); | 1955 | extern unsigned long bootmem_init(unsigned long *pages_avail); |
1956 | extern unsigned long last_valid_pfn; | 1956 | extern unsigned long last_valid_pfn; |
1957 | 1957 | ||
@@ -1962,7 +1962,7 @@ void __init sun4c_paging_init(void) | |||
1962 | extern struct resource sparc_iomap; | 1962 | extern struct resource sparc_iomap; |
1963 | unsigned long end_pfn, pages_avail; | 1963 | unsigned long end_pfn, pages_avail; |
1964 | 1964 | ||
1965 | kernel_end = (unsigned long) &end; | 1965 | kernel_end = (unsigned long) &_end; |
1966 | kernel_end = SUN4C_REAL_PGDIR_ALIGN(kernel_end); | 1966 | kernel_end = SUN4C_REAL_PGDIR_ALIGN(kernel_end); |
1967 | 1967 | ||
1968 | pages_avail = 0; | 1968 | pages_avail = 0; |