Skip to content

Commit

Permalink
sparc32: Fix build.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
IOBYTE authored and davem330 committed May 11, 2008
1 parent 28e6103 commit b5e10df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-sparc/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#ifndef __ASSEMBLY__

#include <linux/types.h>

struct pt_regs {
unsigned long psr;
unsigned long pc;
Expand Down

0 comments on commit b5e10df

Please sign in to comment.