]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: export get_cpu_subtype
authorAdrian Bunk <bunk@kernel.org>
Tue, 17 Jun 2008 22:30:24 +0000 (01:30 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:27 +0000 (18:10 +0900)
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>
arch/sh/kernel/setup.c

index bca2bbc575dbe034e7c0ded352c437997ee8308d..9324cb91fd35d0d5b525cebe3efe6399d37ccaec 100644 (file)
@@ -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 */