cvs commit: src/sys/amd64/isa clock.c src/sys/i386/isa clock.c

Helge.Oldach at atosorigin.com Helge.Oldach at atosorigin.com
Wed Feb 13 01:07:15 PST 2008


John Baldwin wrote on Tuesday, February 12, 2008 8:14 PM:
> jhb         2008-02-12 19:14:01 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:        (Branch: RELENG_6)
>     sys/amd64/isa        clock.c
>     sys/i386/isa         clock.c
>   Log:
>   MFC: Use cpu_spinwait() in DELAY().
> 
>   Revision   Changes    Path
>   1.221.2.3  +1 -0      src/sys/amd64/isa/clock.c
>   1.222.2.4  +1 -0      src/sys/i386/isa/clock.c

In that case you should also MFC a part of rev. 1.226:

#include <machine/cpu.h>

otherwise:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  /usr/src/sys/i386/isa/clock.c
/usr/src/sys/i386/isa/clock.c: In function `DELAY':
/usr/src/sys/i386/isa/clock.c:301: warning: implicit declaration of function `cpu_spinwait'
/usr/src/sys/i386/isa/clock.c:301: warning: nested extern declaration of `cpu_spinwait'
*** Error code 1

Stop in /usr/obj/usr/src/sys/HMO.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Atos Origin GmbH, Theodor-Althoff-Str. 47, D-45133 Essen, Postfach 100 123, D-45001 Essen
Telefon: +49 201 4305 0, Fax: +49 201 4305 689095, www.atosorigin.de
ING Bank AG, Frankfurt/Main: Konto 001 014 0937, BLZ 500 210 00, Swift / BIC INGBDEFF, IBAN DE74 5002 1000 0010 1409 37
Geschäftsführer: Wilbert Kieboom, Peter 't Jong, Handelsregister Essen HRB 19354, Ust.-ID.-Nr.: DE147861238



More information about the cvs-src mailing list