On Mon, Oct 02, 2000 at 11:36:03PM -0400, Jay Estabrook wrote:
> As suggested days ago by Ivan, one solution is:
> 
> -----------------------------------------------------------------------------
> diff -urN old/include/asm-alpha/bitops.h new/include/asm-alpha/bitops.h
> --- old/include/asm-alpha/bitops.h      Mon Oct  2 21:50:50 2000
> +++ new/include/asm-alpha/bitops.h      Mon Oct  2 22:38:25 2000
> @@ -2,6 +2,7 @@
>  #define _ALPHA_BITOPS_H
>  
>  #include <linux/config.h>
> +#include <linux/kernel.h>
>  

Probably asm/system.h is a more natural to #include <linux/kernel.h>.

Also in fcntl.h #define F_INPROGRESS same as F_EXLCK (16) looks a bit
confusing. Should it be 64?

Ivan.

--- 2.4.0.t9p9/include/asm-alpha/fcntl.h        Tue Oct  3 12:46:06 2000
+++ linux/include/asm-alpha/fcntl.h     Tue Oct  3 12:50:40 2000
@@ -48,7 +48,7 @@
 #define F_EXLCK                16      /* or 3 */
 #define F_SHLCK                32      /* or 4 */
 
-#define F_INPROGRESS   16
+#define F_INPROGRESS   64
 
 /* operations for bsd flock(), also used by the kernel implementation */
 #define LOCK_SH                1       /* shared lock */
--- 2.4.0.t9p9/include/asm-alpha/system.h       Tue Oct  3 12:46:06 2000
+++ linux/include/asm-alpha/system.h    Tue Oct  3 12:49:05 2000
@@ -36,6 +36,7 @@
 #define START_ADDR     (PAGE_OFFSET+KERNEL_START_PHYS+0x10000)
 
 #ifndef __ASSEMBLY__
+#include <linux/kernel.h>
 
 /*
  * This is the logout header that should be common to all platforms
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to