diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2008-04-29 08:11:12 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-04-29 08:11:12 -0400 |
commit | 35802c0b2bab71695f131f981d95fcea7432c99b (patch) | |
tree | d25069d71849ff3f6c5edc9374b92a63932cfc7f /arch | |
parent | 5fcf4303037a648f7b3e40c9a73361879852efe7 (diff) |
sparc: Export symbols for ZERO_PAGE usage in modules.
ext4 uses ZERO_PAGE(0) to zero out blocks. We need to export
different symbols in different arches for the usage of ZERO_PAGE
in modules.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms.c | 2 | ||||
-rw-r--r-- | arch/sparc64/mm/init.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/sparc_ksyms.c b/arch/sparc/kernel/sparc_ksyms.c index 0bcf98a7ef38..aa8ee06cf488 100644 --- a/arch/sparc/kernel/sparc_ksyms.c +++ b/arch/sparc/kernel/sparc_ksyms.c | |||
@@ -282,3 +282,5 @@ EXPORT_SYMBOL(do_BUG); | |||
282 | 282 | ||
283 | /* Sun Power Management Idle Handler */ | 283 | /* Sun Power Management Idle Handler */ |
284 | EXPORT_SYMBOL(pm_idle); | 284 | EXPORT_SYMBOL(pm_idle); |
285 | |||
286 | EXPORT_SYMBOL(empty_zero_page); | ||
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 8c2b50e8abc6..4cad0b32b0af 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c | |||
@@ -160,6 +160,7 @@ extern unsigned int sparc_ramdisk_image; | |||
160 | extern unsigned int sparc_ramdisk_size; | 160 | extern unsigned int sparc_ramdisk_size; |
161 | 161 | ||
162 | struct page *mem_map_zero __read_mostly; | 162 | struct page *mem_map_zero __read_mostly; |
163 | EXPORT_SYMBOL(mem_map_zero); | ||
163 | 164 | ||
164 | unsigned int sparc64_highest_unlocked_tlb_ent __read_mostly; | 165 | unsigned int sparc64_highest_unlocked_tlb_ent __read_mostly; |
165 | 166 | ||