From: Adrian Bunk Date: Tue, 17 Jun 2008 22:30:24 +0000 (+0300) Subject: sh: export get_cpu_subtype X-Git-Tag: v2.6.27-rc1~29^2~69 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b19a33cabafbac56ba581e2a77ea6476db9118ab;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Adrian Bunk Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index bca2bbc575d..9324cb91fd3 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 */