aboutsummaryrefslogtreecommitdiffstats
path: root/arch/metag/kernel/setup.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-02-13 12:55:51 +0000
committerJames Hogan <james.hogan@imgtec.com>2013-03-02 20:11:15 +0000
commit7293dbed9d8be1916034dbfcf2f203e96bd8fae1 (patch)
treec8f691277091762579a264d976a72c5f9acd45f9 /arch/metag/kernel/setup.c
parentmetag: move kick.c exports out of metag_ksyms.c (diff)
downloadlinux-dev-7293dbed9d8be1916034dbfcf2f203e96bd8fae1.tar.xz
linux-dev-7293dbed9d8be1916034dbfcf2f203e96bd8fae1.zip
metag: move setup.c exports out of metag_ksyms.c
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in setup.c into setup.c Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to '')
-rw-r--r--arch/metag/kernel/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c
index 9803ca4f6510..dd6c5ad73917 100644
--- a/arch/metag/kernel/setup.c
+++ b/arch/metag/kernel/setup.c
@@ -5,6 +5,7 @@
*
*/
+#include <linux/export.h>
#include <linux/bootmem.h>
#include <linux/console.h>
#include <linux/cpu.h>
@@ -141,6 +142,7 @@ u8 hwthread_id_2_cpu[4] __read_mostly = {
* probably only be used via them.
*/
unsigned int meta_memoffset;
+EXPORT_SYMBOL(meta_memoffset);
static char __initdata *original_cmd_line;
@@ -579,6 +581,7 @@ PTBI pTBI_get(unsigned int cpu)
{
return per_cpu(pTBI, cpu);
}
+EXPORT_SYMBOL(pTBI_get);
#if defined(CONFIG_METAG_DSP) && defined(CONFIG_METAG_FPU)
char capabilites[] = "dsp fpu";