* [PATCH] Fix Sparc32 Build
@ 2007-08-04 14:28 Mark Fortescue
2007-08-05 3:19 ` David Miller
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mark Fortescue @ 2007-08-04 14:28 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: TEXT/PLAIN, Size: 200 bytes --]
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.
[-- Attachment #2: Type: TEXT/PLAIN, Size: 551 bytes --]
From: Mark Fortescue <mark@mtfhpc.demon.co.uk>
Correct incorrect removal of asm-generic/fcntl.h from asm-sparc/fcntl.h by
commit 6ba60d2195cd65d72eaf7ce3903a707c5bf20c7b.
Signed-off-by: Mark Fortescue <mark@mtfhpc.demon.co.uk>
---
--- 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Fix Sparc32 Build
2007-08-04 14:28 [PATCH] Fix Sparc32 Build Mark Fortescue
@ 2007-08-05 3:19 ` David Miller
2008-05-11 22:35 ` [PATCH] fix sparc32 build Robert Reif
2008-05-11 22:47 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2007-08-05 3:19 UTC (permalink / raw)
To: sparclinux
From: Mark Fortescue <mark@mtfhpc.demon.co.uk>
Date: Sat, 4 Aug 2007 15:28:26 +0100 (BST)
> 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
I'll apply this, thanks Mark.
I thought the sparc32 and sparc64 fcntl.h files were more in
sync than they actually were, sorry :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] fix sparc32 build
2007-08-04 14:28 [PATCH] Fix Sparc32 Build Mark Fortescue
2007-08-05 3:19 ` David Miller
@ 2008-05-11 22:35 ` Robert Reif
2008-05-11 22:47 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Robert Reif @ 2008-05-11 22:35 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
Fix sparc32 build error due to undefined bool type.
CC [M] fs/ocfs2/dlm/userdlm.o
In file included from include/asm/sigcontext.h:6,
from include/asm/signal.h:5,
from include/linux/signal.h:4,
from fs/ocfs2/dlm/userdlm.c:30:
include/asm/ptrace.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘pt_regs_is_syscall’
include/asm/ptrace.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘pt_regs_clear_syscall’
make[3]: *** [fs/ocfs2/dlm/userdlm.o] Error 1
make[2]: *** [fs/ocfs2/dlm] Error 2
make[1]: *** [fs/ocfs2] Error 2
make: *** [fs] Error 2
Signed-off-by: Robert Reif <reif@earthlink.net>
[-- Attachment #2: ptrace.diff.txt --]
[-- Type: text/plain, Size: 296 bytes --]
diff --git a/include/asm-sparc/ptrace.h b/include/asm-sparc/ptrace.h
index 6b5e6ce..0afb867 100644
--- a/include/asm-sparc/ptrace.h
+++ b/include/asm-sparc/ptrace.h
@@ -10,6 +10,8 @@
#ifndef __ASSEMBLY__
+#include <linux/types.h>
+
struct pt_regs {
unsigned long psr;
unsigned long pc;
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] fix sparc32 build
2007-08-04 14:28 [PATCH] Fix Sparc32 Build Mark Fortescue
2007-08-05 3:19 ` David Miller
2008-05-11 22:35 ` [PATCH] fix sparc32 build Robert Reif
@ 2008-05-11 22:47 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2008-05-11 22:47 UTC (permalink / raw)
To: sparclinux
From: Robert Reif <reif@earthlink.net>
Date: Sun, 11 May 2008 18:35:19 -0400
> Fix sparc32 build error due to undefined bool type.
Sorry Robert, I did several test builds in an effort to
avoid something like this :-/
> Signed-off-by: Robert Reif <reif@earthlink.net>
Applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-11 22:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-04 14:28 [PATCH] Fix Sparc32 Build Mark Fortescue
2007-08-05 3:19 ` David Miller
2008-05-11 22:35 ` [PATCH] fix sparc32 build Robert Reif
2008-05-11 22:47 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.