diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-23 17:28:32 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-05-21 09:03:15 -0400 |
commit | f074e48e0a54d8c1370f319ef95e71f796cd8048 (patch) | |
tree | ee170cbbf14310c581a1f1b21e6215ede2a04eb1 /arch/blackfin/include | |
parent | 7a9b149212f3716c598afe973b6261fd58453b7a (diff) |
Blackfin: drop unused bad_page pages and move zero_page to the bss
The empty_bad_page/empty_bad_page_table pages are unused, so punt them.
The zero_page is always allocated, so push it out to the bss to speed up
the booting process a bit and pack data nicer.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/pgtable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/pgtable.h b/arch/blackfin/include/asm/pgtable.h index 821c699c2238..dcca3e6d6e80 100644 --- a/arch/blackfin/include/asm/pgtable.h +++ b/arch/blackfin/include/asm/pgtable.h | |||
@@ -80,7 +80,8 @@ PTE_BIT_FUNC(mkyoung, |= _PAGE_ACCESSED); | |||
80 | * ZERO_PAGE is a global shared page that is always zero: used | 80 | * ZERO_PAGE is a global shared page that is always zero: used |
81 | * for zero-mapped memory areas etc.. | 81 | * for zero-mapped memory areas etc.. |
82 | */ | 82 | */ |
83 | #define ZERO_PAGE(vaddr) (virt_to_page(0)) | 83 | #define ZERO_PAGE(vaddr) virt_to_page(empty_zero_page) |
84 | extern char empty_zero_page[]; | ||
84 | 85 | ||
85 | extern unsigned int kobjsize(const void *objp); | 86 | extern unsigned int kobjsize(const void *objp); |
86 | 87 | ||