RE: Linux 2.6.0-test6
From: Oliver Pitzeier
Date: Mon Sep 29 2003 - 04:03:12 EST
Hi Viro!
[ ... ]
> > It work's on my Intel machine, but on Alpha, I get this: <snip>
> > CC init/version.o
> > LD init/built-in.o
> > LD .tmp_vmlinux1
> > kernel/built-in.o: In function `try_to_wake_up':
> > kernel/built-in.o(.text+0x438): undefined reference to `sched_clock'
>
> Add
> unsigned long long default_sched_clock(void)
> {
> return (unsigned long long)jiffies * (1000000000 / HZ);
> }
>
> in kernel/sched.c and
>
> #define sched_clock default_sched_clock
>
> in include/asm-alpha/system.h
>
> FWIW, the former should've been done from the very beginning
[ ... ]
This seems to work!
Thanks!
Best,
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/