*** empty log message ***

This commit is contained in:
Søren Sandmann Pedersen
2004-06-19 21:35:40 +00:00
parent d7b4e3f96a
commit 1e0ed9e3ac
2 changed files with 6 additions and 5 deletions

View File

@ -43,7 +43,7 @@ $(MODULE).o: $(MODULE).c
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
else else
MODCFLAGS += KERNEL24 MODCFLAGS += -DKERNEL24
$(MODULE).o: $(MODULE).c $(MODULE).o: $(MODULE).c
gcc $(MODCFLAGS) $(MODULE).c -c -o$(MODULE).o gcc $(MODCFLAGS) $(MODULE).c -c -o$(MODULE).o

View File

@ -45,6 +45,7 @@ static struct tq_struct timer_task =
NULL NULL
}; };
int exiting = 0;
#else #else
static struct timer_list timer; static struct timer_list timer;
@ -162,12 +163,12 @@ on_timer(unsigned long dong)
) )
{ {
struct pt_regs *regs = ((struct pt_regs *) (THREAD_SIZE + (unsigned long) current->thread_info)) - 1; #ifdef KERNEL24
#if 0
struct pt_regs *regs = (struct pt_regs *)( struct pt_regs *regs = (struct pt_regs *)(
(long)current + THREAD_SIZE - sizeof (struct pt_regs)); (long)current + THREAD_SIZE - sizeof (struct pt_regs));
#else
struct pt_regs *regs = ((struct pt_regs *) (THREAD_SIZE + (unsigned long) current->thread_info)) - 1;
#endif #endif
generate_stack_trace (regs, head); generate_stack_trace (regs, head);
if (head++ == &stack_traces[N_TRACES - 1]) if (head++ == &stack_traces[N_TRACES - 1])