diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-08 18:40:28 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-13 07:20:14 -0400 |
commit | 5203fa82f3907a9c3357f84aa1cdfb57e55cc175 (patch) | |
tree | bcbdaa85d9fc3ddd13415bf5a3e3ddb639852fa2 /arch | |
parent | e38eb89210ce7171291e4164c24b8d1e6c5385ea (diff) |
Blackfin: move custom sections into sections.h
The Blackfin arch has a bunch of custom section markings for its on-chip
regions, but they aren't declared in the right header.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/include/asm/bfin-global.h | 11 | ||||
-rw-r--r-- | arch/blackfin/include/asm/sections.h | 11 |
2 files changed, 12 insertions, 10 deletions
diff --git a/arch/blackfin/include/asm/bfin-global.h b/arch/blackfin/include/asm/bfin-global.h index daffc0684e75..e39277ea43e8 100644 --- a/arch/blackfin/include/asm/bfin-global.h +++ b/arch/blackfin/include/asm/bfin-global.h | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | #ifndef __ASSEMBLY__ | 32 | #ifndef __ASSEMBLY__ |
33 | 33 | ||
34 | #include <asm-generic/sections.h> | 34 | #include <asm/sections.h> |
35 | #include <asm/ptrace.h> | 35 | #include <asm/ptrace.h> |
36 | #include <asm/user.h> | 36 | #include <asm/user.h> |
37 | #include <linux/linkage.h> | 37 | #include <linux/linkage.h> |
@@ -99,15 +99,6 @@ extern const char bfin_board_name[]; | |||
99 | extern unsigned long bfin_sic_iwr[]; | 99 | extern unsigned long bfin_sic_iwr[]; |
100 | extern unsigned vr_wakeup; | 100 | extern unsigned vr_wakeup; |
101 | extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */ | 101 | extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */ |
102 | extern unsigned long _ramstart, _ramend, _rambase; | ||
103 | extern unsigned long memory_start, memory_end, physical_mem_end; | ||
104 | extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[], | ||
105 | _ebss_l1[], _l1_lma_start[], _sdata_b_l1[], _sbss_b_l1[], _ebss_b_l1[], | ||
106 | _stext_l2[], _etext_l2[], _sdata_l2[], _edata_l2[], _sbss_l2[], | ||
107 | _ebss_l2[], _l2_lma_start[]; | ||
108 | |||
109 | /* only used when MTD_UCLINUX */ | ||
110 | extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size; | ||
111 | 102 | ||
112 | #ifdef CONFIG_BFIN_ICACHE_LOCK | 103 | #ifdef CONFIG_BFIN_ICACHE_LOCK |
113 | extern void cache_grab_lock(int way); | 104 | extern void cache_grab_lock(int way); |
diff --git a/arch/blackfin/include/asm/sections.h b/arch/blackfin/include/asm/sections.h index 1443c3353a8c..e7fd0ecd73f7 100644 --- a/arch/blackfin/include/asm/sections.h +++ b/arch/blackfin/include/asm/sections.h | |||
@@ -4,4 +4,15 @@ | |||
4 | /* nothing to see, move along */ | 4 | /* nothing to see, move along */ |
5 | #include <asm-generic/sections.h> | 5 | #include <asm-generic/sections.h> |
6 | 6 | ||
7 | /* only used when MTD_UCLINUX */ | ||
8 | extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size; | ||
9 | |||
10 | extern unsigned long _ramstart, _ramend, _rambase; | ||
11 | extern unsigned long memory_start, memory_end, physical_mem_end; | ||
12 | |||
13 | extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[], | ||
14 | _ebss_l1[], _l1_lma_start[], _sdata_b_l1[], _sbss_b_l1[], _ebss_b_l1[], | ||
15 | _stext_l2[], _etext_l2[], _sdata_l2[], _edata_l2[], _sbss_l2[], | ||
16 | _ebss_l2[], _l2_lma_start[]; | ||
17 | |||
7 | #endif | 18 | #endif |