lkml.org 
[lkml]   [2000]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: test9-pre9
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.025 / U:2.792 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site