aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/reboot.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-02-01 15:06:06 -0500
committerChris Metcalf <cmetcalf@tilera.com>2013-02-08 13:20:36 -0500
commit7c63e1ee0afe0e957292463cfa111ba59193ab2f (patch)
treec09b8cf9c175e2603fba83a9e11258382fd0d496 /arch/tile/kernel/reboot.c
parentdrm: fix compile failure by including <linux/swiotlb.h> (diff)
downloadlinux-dev-7c63e1ee0afe0e957292463cfa111ba59193ab2f.tar.xz
linux-dev-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/reboot.c')
-rw-r--r--arch/tile/kernel/reboot.c2
1 files changed, 2 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);