android_kernel_samsung_msm8976/arch/m68k/sun3x/time.h
Al Viro 2850bc2737 [PATCH] m68k pt_regs fixes
m68k_handle_int() split in two functions: __m68k_handle_int() takes
pt_regs * and does set_irq_regs(); m68k_handle_int() doesn't get pt_regs
*.

Places where we used to call m68k_handle_int() recursively with the same
pt_regs have simply lost the second argument, the rest is switched to
__m68k_handle_int().

The rest of patch is just dropping pt_regs * where needed.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-07 10:51:14 -07:00

19 lines
466 B
C

#ifndef SUN3X_TIME_H
#define SUN3X_TIME_H
extern int sun3x_hwclk(int set, struct rtc_time *t);
unsigned long sun3x_gettimeoffset (void);
void sun3x_sched_init(irqreturn_t (*vector)(int, void *));
struct mostek_dt {
volatile unsigned char csr;
volatile unsigned char sec;
volatile unsigned char min;
volatile unsigned char hour;
volatile unsigned char wday;
volatile unsigned char mday;
volatile unsigned char month;
volatile unsigned char year;
};
#endif