Re: linux-2.2.5-pre1: include/linux/joystick.h and include/asm-i386/spinlock.h conflict

Vojtech Pavlik (vojtech@twilight.ucw.cz)
Sun, 28 Mar 1999 06:37:04 +0200


On Thu, Mar 25, 1999 at 08:50:22PM -0500, Horst von Brand wrote:

> Both define spinlock_t, but differently. Kernel won't compile.

Interesting. In my joystick.h there is:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,0)
[something]
#else
typedef struct { int something; } spinlock_t;
#endif

No other reference to spinlock_t in the file. So, this typedef should
never happen on 2.2 kernels.

Vojtech

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