lkml.org 
[lkml]   [1998]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectParse error

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


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.024 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site