Parse error

George (greerga@nidhogg.ham.muohio.edu)
Tue, 27 Jan 1998 11:05:37 -0500 (EST)


Compiling with SMP, 2.1.82:

gcc -D__KERNEL__ -I/var/src/linux-2.1.82/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
-DCPU=486 -D__SMP__ -c -o ioport.o ioport.c
In file included from /var/src/linux-2.1.82/include/linux/sched.h:16,
from ioport.c:8:
/var/src/linux-2.1.82/include/asm/semaphore.h:87: parse error before string
constant

extern inline void down(struct semaphore * sem)
{
__asm__ __volatile__(
87-> "# atomic down operation\n\t"
#ifdef __SMP__
"lock ; "
#endif
"decl 0(%0)\n\t"
"js 2f\n"

-George