summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/rtas-proc.c
diff options
context:
space:
mode:
authorPaul Mackerras2005-10-19 15:11:21 +0200
committerPaul Mackerras2005-10-19 15:11:21 +0200
commit143a1dec7e04e0a9712ff93e779aabfb21dfd97c (patch)
tree3a60a4e630d792fb3cdc6e962ce0ecfd94bb2672 /arch/ppc64/kernel/rtas-proc.c
parentppc: Minor smp changes for consistency with ppc64 (diff)
downloadkernel-qcow2-linux-143a1dec7e04e0a9712ff93e779aabfb21dfd97c.tar.gz
kernel-qcow2-linux-143a1dec7e04e0a9712ff93e779aabfb21dfd97c.tar.xz
kernel-qcow2-linux-143a1dec7e04e0a9712ff93e779aabfb21dfd97c.zip
powerpc: Merge machdep.h
A few things change for consistency between ppc32 and ppc64: idle functions return void; *_get_boot_time functions return unsigned long (i.e. time_t) rather than filling in a struct rtc_time (since that's useful to the callers and easier for pmac to generate); *_get_rtc_time and *_set_rtc_time functions take a struct rtc_time; irq_canonicalize is gone; nvram_sync returns void. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/rtas-proc.c')
-rw-r--r--arch/ppc64/kernel/rtas-proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/rtas-proc.c b/arch/ppc64/kernel/rtas-proc.c
index 1f3ff860fdf0..5bdd5b079d96 100644
--- a/arch/ppc64/kernel/rtas-proc.c
+++ b/arch/ppc64/kernel/rtas-proc.c
@@ -23,6 +23,7 @@
#include <linux/init.h>
#include <linux/seq_file.h>
#include <linux/bitops.h>
+#include <linux/rtc.h>
#include <asm/uaccess.h>
#include <asm/processor.h>