This website requires JavaScript.
Explore
Help
Sign In
redonkable
/
alistair23-linux
Watch
1
Star
0
Fork
You've already forked alistair23-linux
0
Code
Releases
Activity
d1358f90e3
alistair23-linux
/
arch
/
m68k
/
hp300
/
time.h
3 lines
90 B
C
Raw
Normal View
History
Unescape
Escape
IRQ: Use the new typedef for interrupt handler function pointers Use the new typedef for interrupt handler function pointers rather than actually spelling out the full thing each time. This was scripted with the following small shell script: #!/bin/sh egrep -nHrl -e 'irqreturn_t[ ]*[(][*]' $* | while read i do echo $i perl -pi -e 's/irqreturn_t\s*[(]\s*[*]\s*([_a-zA-Z0-9]*)\s*[)]\s*[(]\s*int\s*,\s*void\s*[*]\s*[)]/irq_handler_t \1/g' $i || exit $? done Signed-Off-By: David Howells <dhowells@redhat.com>
2006-10-09 05:19:47 -06:00
extern
void
hp300_sched_init
(
irq_handler_t
vector
)
;
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>
2012-11-08 11:34:55 -07:00
extern
u32
hp300_gettimeoffset
(
void
)
;
Copy permalink