[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 2.2.2pre5 followup (semaphores)



Sorry, folks. I spoke too soon.

I added an 'extern int __down_trylock(struct semaphore * sem);'
to 'linux/include/asm-alpha/semaphore.h' and I got...

< from make vmlinux >
<- snip ->
gcc -D__KERNEL__ -I/home/src/linux-2.2.2-pre5/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED   -fno-omit-frame-pointer -c -o sched.o sched.c
sched.c:39: asm/semaphore-helper.h: No such file or directory
sched.c:580: warning: alignment of `aligned_data' is greater than maximum object file alignment
sched.c: In function `__down':
sched.c:900: too few arguments to function `waking_non_zero'
sched.c: In function `__down_interruptible':
sched.c:912: warning: implicit declaration of function `waking_non_zero_interruptible'
sched.c: In function `__down_trylock':
sched.c:927: warning: implicit declaration of function `waking_non_zero_trylock'

On Sun, Feb 21, 1999 at 06:02:59PM -0500, Robert Bowles wrote:
> Thanks for the answer:
> 
> 'linux/include/asm-i386/semaphore.h' has an
> asmlinkage int  __down_trylock(struct semaphore * sem);
> 
> Whereas 'linux/include/asm-alpha/semaphore.h' has none.
> I'm just adding "the line" and building right now. :)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []