RH 9 and spinlock
From: Cédric Pillonel (cedric.pillonel_at_swisscom.com)
Date: 12/21/04
- Next message: Kasper Dupont: "Re: System Call"
- Previous message: Kasper Dupont: "Re: System Call"
- Next in thread: David Schwartz: "Re: RH 9 and spinlock"
- Reply: David Schwartz: "Re: RH 9 and spinlock"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Dec 2004 08:03:34 +0100
I try to compile a library using spinlocks. This library includes
"linux/spinlock.h", but this file is empty:
#ifndef __LINUX_SPINLOCK_H
#define __LINUX_SPINLOCK_H
#endif /* __LINUX_SPINLOCK_H */
I have also taken a look at "asm/spinlock.h":
#ifndef __ASM_SPINLOCK_H
#define __ASM_SPINLOCK_H
#warning Unportable code! This header does not exist on all architectures
#warning Including kernel headers in userspace!
#endif /* __ASM_SPINLOCK_H */
Why are both of these files empty? Where is spin_lock() defined?
I have RedHat 9, kernel 2.4.20-31.9, not the smp one, I have installed all
RPMs. These files have been installed by the following package:
glibc-kernheaders-2.4-8.10.
Thank you.
- Next message: Kasper Dupont: "Re: System Call"
- Previous message: Kasper Dupont: "Re: System Call"
- Next in thread: David Schwartz: "Re: RH 9 and spinlock"
- Reply: David Schwartz: "Re: RH 9 and spinlock"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|