diff options
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r-- | arch/sh/kernel/setup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index fc5b22edc0c2..c9fb912a78e2 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -77,6 +77,11 @@ static struct resource data_resource = { | |||
77 | .flags = IORESOURCE_BUSY | IORESOURCE_MEM, | 77 | .flags = IORESOURCE_BUSY | IORESOURCE_MEM, |
78 | }; | 78 | }; |
79 | 79 | ||
80 | static struct resource bss_resource = { | ||
81 | .name = "Kernel bss", | ||
82 | .flags = IORESOURCE_BUSY | IORESOURCE_MEM, | ||
83 | }; | ||
84 | |||
80 | unsigned long memory_start; | 85 | unsigned long memory_start; |
81 | EXPORT_SYMBOL(memory_start); | 86 | EXPORT_SYMBOL(memory_start); |
82 | unsigned long memory_end = 0; | 87 | unsigned long memory_end = 0; |
@@ -268,6 +273,8 @@ void __init setup_arch(char **cmdline_p) | |||
268 | code_resource.end = virt_to_phys(_etext)-1; | 273 | code_resource.end = virt_to_phys(_etext)-1; |
269 | data_resource.start = virt_to_phys(_etext); | 274 | data_resource.start = virt_to_phys(_etext); |
270 | data_resource.end = virt_to_phys(_edata)-1; | 275 | data_resource.end = virt_to_phys(_edata)-1; |
276 | bss_resource.start = virt_to_phys(__bss_start); | ||
277 | bss_resource.end = virt_to_phys(_ebss)-1; | ||
271 | 278 | ||
272 | memory_start = (unsigned long)__va(__MEMORY_START); | 279 | memory_start = (unsigned long)__va(__MEMORY_START); |
273 | if (!memory_end) | 280 | if (!memory_end) |