Re: pre-2.1.130-3 fails compile -- itimer.c (UP)

Linus Torvalds (torvalds@transmeta.com)
Tue, 24 Nov 1998 13:51:31 -0800 (PST)


On Tue, 24 Nov 1998, Pete Clements wrote:
>
> gcc -D__KERNEL__ -I/hdb3/usr/src/linux-2.1.129/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o itimer.o itimer.c
> itimer.c: In function `do_getitimer':
> itimer.c:50: warning: implicit declaration of function `start_bh_atomic'
> itimer.c:58: warning: implicit declaration of function `end_bh_atomic'

Duh, you need to include <linux/interrupt.h> in kernel/itimer.c.

It doesn't happen on SMP, because the SMP files will do it for you.

Sorry,
Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/