summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel
diff options
context:
space:
mode:
authorChris Metcalf2013-02-01 21:06:06 +0100
committerChris Metcalf2013-02-08 19:20:36 +0100
commit7c63e1ee0afe0e957292463cfa111ba59193ab2f (patch)
treec09b8cf9c175e2603fba83a9e11258382fd0d496 /arch/tile/kernel
parentdrm: fix compile failure by including <linux/swiotlb.h> (diff)
downloadkernel-qcow2-linux-7c63e1ee0afe0e957292463cfa111ba59193ab2f.tar.gz
kernel-qcow2-linux-7c63e1ee0afe0e957292463cfa111ba59193ab2f.tar.xz
kernel-qcow2-linux-7c63e1ee0afe0e957292463cfa111ba59193ab2f.zip
tile: export a handful of symbols appropriately
This was shown up by running with "allmodconfig". I used EXPORT_SYMBOL() to match existing conventions in files that were already exporting symbols, or that were exported that way by other architectures, and otherwise EXPORT_SYMBOL_GPL(). Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel')
-rw-r--r--arch/tile/kernel/reboot.c2
-rw-r--r--arch/tile/kernel/stack.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/tile/kernel/reboot.c b/arch/tile/kernel/reboot.c
index baa3d905fee2..d1b5c913ae72 100644
--- a/arch/tile/kernel/reboot.c
+++ b/arch/tile/kernel/reboot.c
@@ -16,6 +16,7 @@
#include <linux/reboot.h>
#include <linux/smp.h>
#include <linux/pm.h>
+#include <linux/export.h>
#include <asm/page.h>
#include <asm/setup.h>
#include <hv/hypervisor.h>
@@ -49,3 +50,4 @@ void machine_restart(char *cmd)
/* No interesting distinction to be made here. */
void (*pm_power_off)(void) = NULL;
+EXPORT_SYMBOL(pm_power_off);
diff --git a/arch/tile/kernel/stack.c b/arch/tile/kernel/stack.c
index ba2b36ce9b66..ed258b8ae320 100644
--- a/arch/tile/kernel/stack.c
+++ b/arch/tile/kernel/stack.c
@@ -484,6 +484,7 @@ void save_stack_trace(struct stack_trace *trace)
{
save_stack_trace_tsk(NULL, trace);
}
+EXPORT_SYMBOL_GPL(save_stack_trace);
#endif