summaryrefslogtreecommitdiffstats
path: root/arch/m68k/hp300/time.h
diff options
context:
space:
mode:
authorStephen Warren2012-11-08 19:34:55 +0100
committerStephen Warren2012-12-24 17:36:34 +0100
commitc8d5ba1891eda2aa63800f052cb5af128283d130 (patch)
tree59a18c2262607b4067739fe4dfed3c6fa8e40f14 /arch/m68k/hp300/time.h
parenttime: convert arch_gettimeoffset to a pointer (diff)
downloadkernel-qcow2-linux-c8d5ba1891eda2aa63800f052cb5af128283d130.tar.gz
kernel-qcow2-linux-c8d5ba1891eda2aa63800f052cb5af128283d130.tar.xz
kernel-qcow2-linux-c8d5ba1891eda2aa63800f052cb5af128283d130.zip
m68k: set arch_gettimeoffset directly
remove m68k's mach_gettimeoffset function pointer, and instead directly set the arch_gettimeoffset function pointer. This requires multiplying all function results by 1000, since the removed m68k_gettimeoffset() did this. Also, s/unsigned long/u32/ just to make the function prototypes exactly match that of arch_gettimeoffset. Cc: Joshua Thompson <funaho@jurai.org> Cc: Sam Creasey <sammy@sammy.net> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/m68k/hp300/time.h')
-rw-r--r--arch/m68k/hp300/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/hp300/time.h b/arch/m68k/hp300/time.h
index 7b98242960de..f5583ec4033d 100644
--- a/arch/m68k/hp300/time.h
+++ b/arch/m68k/hp300/time.h
@@ -1,2 +1,2 @@
extern void hp300_sched_init(irq_handler_t vector);
-extern unsigned long hp300_gettimeoffset(void);
+extern u32 hp300_gettimeoffset(void);