Hi David, asm-generic/fcntl.h is needed in asm-sparc/fcntl.h.The #defines in asm-generic/fcntl.h are protected with #if's so will not override thoes in asm-sparc/fcntl.h
Regards Mark Fortescue.
From: Mark Fortescue <mark@xxxxxxxxxxxxxxxxxx> Correct incorrect removal of asm-generic/fcntl.h from asm-sparc/fcntl.h by commit 6ba60d2195cd65d72eaf7ce3903a707c5bf20c7b. Signed-off-by: Mark Fortescue <mark@xxxxxxxxxxxxxxxxxx> --- --- linux-2.6/include/asm-sparc/fcntl.h 2007-08-04 14:40:45.000000000 +0100 +++ linux-test/include/asm-sparc/fcntl.h 2007-08-04 15:18:32.000000000 +0100 @@ -32,5 +32,6 @@ #define __ARCH_FLOCK_PAD short __unused; #define __ARCH_FLOCK64_PAD short __unused; +#include <asm-generic/fcntl.h> #endif