summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-19 20:39:18 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-19 20:39:18 -0800
commitc3c25240312d92a088a9981b620e876e960313f8 (patch)
treef6ebee3cbbc76c0327e12099750da100d8a7fe9f /include
parentf6d091e05199e67ba79c3ea29faa5c3b51d5daf4 (diff)
downloadlinux-c3c25240312d92a088a9981b620e876e960313f8.tar.gz
linux-c3c25240312d92a088a9981b620e876e960313f8.tar.bz2
linux-c3c25240312d92a088a9981b620e876e960313f8.zip
[SPARC64]: Fix sparse warnings wrt. machine_alt_power_off().
arch/sparc64/kernel/process.c:123:6: warning: symbol 'machine_alt_power_off' was not declared. Should it be static? Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc64/reboot.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sparc64/reboot.h b/include/asm-sparc64/reboot.h
new file mode 100644
index 000000000000..3f3f43f5be5e
--- /dev/null
+++ b/include/asm-sparc64/reboot.h
@@ -0,0 +1,6 @@
+#ifndef _SPARC64_REBOOT_H
+#define _SPARC64_REBOOT_H
+
+extern void machine_alt_power_off(void);
+
+#endif /* _SPARC64_REBOOT_H */