Commit adba09f0 authored by Chris Zankel's avatar Chris Zankel
Browse files

[XTENSA] Move common sections into bss sections

Move the fields of the COMMON sections 'swapper_pg_dir' and
'empty_zero_page' to the BSS section. Remove the unused COMMON
sections 'emtpy_bad_page_table' and 'empty_bad_page'.

Signed-off-by: default avatarChris Zankel <>
parent de4f6e5b
......@@ -19,6 +19,8 @@
#include <asm/page.h>
#include <asm/cacheasm.h>
#include <linux/linkage.h>
* This module contains the entry code for kernel images. It performs the
* minimal setup needed to call the generic C routines.
......@@ -227,13 +229,14 @@ _startup:
j should_never_return
/* Define some common data structures here. We define them
* here in this assembly file due to their unusual alignment
* requirements.
.comm swapper_pg_dir,PAGE_SIZE,PAGE_SIZE
.comm empty_bad_page_table,PAGE_SIZE,PAGE_SIZE
.comm empty_bad_page,PAGE_SIZE,PAGE_SIZE
.comm empty_zero_page,PAGE_SIZE,PAGE_SIZE
* BSS section
.section ".bss.page_aligned", "w"
.fill PAGE_SIZE, 1, 0
.fill PAGE_SIZE, 1, 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment