Re: Linux 2.4.20-rc1-ac2

David Dyck (david.dyck@fluke.com)
Thu, 14 Nov 2002 11:13:35 -0800 (PST)


On Thu, 14 Nov 2002 at 16:44 -0000, Danny ter Haar <dth@ncc1701.cistron.net...:

> gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-rc1-ac2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=rmap -c -o rmap.o rmap.c
> In file included from rmap.c:31:
> /usr/src/linux-2.4.20-rc1-ac2/include/asm/smplock.h:17: warning: `kernel_locked' redefined
....
> make[3]: *** [rmap.o] Error 1

I turned off the include of smplock, and the file rmap.c compiles.

#if 0
#include <asm/smplock.h>
#endif

What was <asm/smplock.h> providing to rmap.c?

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