diff options
-rw-r--r-- | arch/xtensa/kernel/head.S | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/arch/xtensa/kernel/head.S b/arch/xtensa/kernel/head.S index ea89910efa44..67e69139520b 100644 --- a/arch/xtensa/kernel/head.S +++ b/arch/xtensa/kernel/head.S | |||
@@ -19,6 +19,8 @@ | |||
19 | #include <asm/page.h> | 19 | #include <asm/page.h> |
20 | #include <asm/cacheasm.h> | 20 | #include <asm/cacheasm.h> |
21 | 21 | ||
22 | #include <linux/linkage.h> | ||
23 | |||
22 | /* | 24 | /* |
23 | * This module contains the entry code for kernel images. It performs the | 25 | * This module contains the entry code for kernel images. It performs the |
24 | * minimal setup needed to call the generic C routines. | 26 | * minimal setup needed to call the generic C routines. |
@@ -227,13 +229,14 @@ _startup: | |||
227 | should_never_return: | 229 | should_never_return: |
228 | j should_never_return | 230 | j should_never_return |
229 | 231 | ||
230 | /* Define some common data structures here. We define them | ||
231 | * here in this assembly file due to their unusual alignment | ||
232 | * requirements. | ||
233 | */ | ||
234 | 232 | ||
235 | .comm swapper_pg_dir,PAGE_SIZE,PAGE_SIZE | 233 | /* |
236 | .comm empty_bad_page_table,PAGE_SIZE,PAGE_SIZE | 234 | * BSS section |
237 | .comm empty_bad_page,PAGE_SIZE,PAGE_SIZE | 235 | */ |
238 | .comm empty_zero_page,PAGE_SIZE,PAGE_SIZE | 236 | |
237 | .section ".bss.page_aligned", "w" | ||
238 | ENTRY(swapper_pg_dir) | ||
239 | .fill PAGE_SIZE, 1, 0 | ||
240 | ENTRY(empty_zero_page) | ||
241 | .fill PAGE_SIZE, 1, 0 | ||
239 | 242 | ||