diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-03-10 16:46:58 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-10 16:46:58 +0900 |
commit | 5b34d1ee1e51d61e779a25d28808e8ad824cea3d (patch) | |
tree | c016550c3620adf5e92887e9f6e5c4a272001e5b /arch/sh/mm/uncached.c | |
parent | 089b43f9737f2e51c6ce354749f5a9f3f093601c (diff) |
sh: Export uncached helper symbols.
oprofile and others need to get at these, so provide symbol exports.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/uncached.c')
-rw-r--r-- | arch/sh/mm/uncached.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/mm/uncached.c b/arch/sh/mm/uncached.c index 2ef57efeb22..8a4eca551fc 100644 --- a/arch/sh/mm/uncached.c +++ b/arch/sh/mm/uncached.c @@ -1,4 +1,5 @@ #include <linux/init.h> +#include <linux/module.h> #include <asm/sizes.h> #include <asm/page.h> #include <asm/addrspace.h> @@ -16,11 +17,14 @@ unsigned long cached_to_uncached = SZ_512M; unsigned long uncached_size = SZ_512M; unsigned long uncached_start, uncached_end; +EXPORT_SYMBOL(uncached_start); +EXPORT_SYMBOL(uncached_end); int virt_addr_uncached(unsigned long kaddr) { return (kaddr >= uncached_start) && (kaddr < uncached_end); } +EXPORT_SYMBOL(virt_addr_uncached); void __init uncached_init(void) { |