diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-01 20:06:06 (GMT) |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-08 18:20:36 (GMT) |
commit | 7c63e1ee0afe0e957292463cfa111ba59193ab2f (patch) | |
tree | c09b8cf9c175e2603fba83a9e11258382fd0d496 /arch/tile/kernel/reboot.c | |
parent | 4cfe7629be069d6e951694fecf76f9221badc638 (diff) | |
download | linux-7c63e1ee0afe0e957292463cfa111ba59193ab2f.tar.xz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/tile/kernel/reboot.c b/arch/tile/kernel/reboot.c index baa3d90..d1b5c91 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); |