2006-01-09 17:36:42

by Jeff Mahoney

[permalink] [raw]
Subject: [PATCH] ocfs2/dlm: fix compilation on ia64


Including <asm/signal.h> results in compilation failure on ia64 due to
not including <linux/compiler.h>

Including <linux/signal.h> corrects the problem.

Please apply.

Signed-off-by: Jeff Mahoney <[email protected]>

diff -ruNpX dontdiff linux-2.6.15/fs/ocfs2/dlm/userdlm.c linux-2.6.15-fix/fs/ocfs2/dlm/userdlm.c
--- linux-2.6.15/fs/ocfs2/dlm/userdlm.c 2006-01-08 23:19:50.000000000 -0500
+++ linux-2.6.15-fix/fs/ocfs2/dlm/userdlm.c 2006-01-09 12:31:08.056894624 -0500
@@ -27,7 +27,7 @@
* Boston, MA 021110-1307, USA.
*/

-#include <asm/signal.h>
+#include <linux/signal.h>

#include <linux/module.h>
#include <linux/fs.h>
--
Jeff Mahoney
SuSE Labs


2006-01-09 19:11:35

by Mark Fasheh

[permalink] [raw]
Subject: Re: [PATCH] ocfs2/dlm: fix compilation on ia64

On Mon, Jan 09, 2006 at 12:36:40PM -0500, Jeff Mahoney wrote:
>
> Including <asm/signal.h> results in compilation failure on ia64 due to
> not including <linux/compiler.h>
>
> Including <linux/signal.h> corrects the problem.
That looks good - thanks for the patch.
--Mark

--
Mark Fasheh
Senior Software Developer, Oracle
[email protected]