aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/setup.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-06-18 01:30:24 +0300
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 18:10:27 +0900
commitb19a33cabafbac56ba581e2a77ea6476db9118ab (patch)
tree14f5b72d8ef650ee0dff50afe2290a01f634ddef /arch/sh/kernel/setup.c
parentsh: Prevent leaking of CONFIG_SUPERH32 to userspace in asm/unistd.h. (diff)
downloadlinux-dev-b19a33cabafbac56ba581e2a77ea6476db9118ab.tar.xz
linux-dev-b19a33cabafbac56ba581e2a77ea6476db9118ab.zip
sh: export get_cpu_subtype
This patch fixes the following build error: <-- snip --> ... MODPOST 1837 modules ERROR: "get_cpu_subtype" [arch/sh/oprofile/oprofile.ko] undefined! ... make[2]: *** [__modpost] Error 1 <-- snip --> Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r--arch/sh/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index bca2bbc575db..9324cb91fd35 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -398,6 +398,7 @@ const char *get_cpu_subtype(struct sh_cpuinfo *c)
{
return cpu_name[c->type];
}
+EXPORT_SYMBOL(get_cpu_subtype);
#ifdef CONFIG_PROC_FS
/* Symbolic CPU flags, keep in sync with asm/cpu-features.h */