git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
include
/
asm-sparc64
/
siginfo.h
diff --git
a/include/asm-sparc64/siginfo.h
b/include/asm-sparc64/siginfo.h
index
7e5459f
..
fde8521
100644
(file)
--- a/
include/asm-sparc64/siginfo.h
+++ b/
include/asm-sparc64/siginfo.h
@@
-14,8
+14,11
@@
#ifdef __KERNEL__
#ifdef __KERNEL__
+#include <linux/config.h>
#include <linux/compat.h>
#include <linux/compat.h>
+#ifdef CONFIG_COMPAT
+
typedef union sigval32 {
int sival_int;
u32 sival_ptr;
typedef union sigval32 {
int sival_int;
u32 sival_ptr;
@@
-72,6
+75,7
@@
typedef struct siginfo32 {
} _sigpoll;
} _sifields;
} siginfo_t32;
} _sigpoll;
} _sifields;
} siginfo_t32;
+#endif /* CONFIG_COMPAT */
#endif /* __KERNEL__ */
#endif /* __KERNEL__ */
@@
-85,6
+89,8
@@
typedef struct siginfo32 {
#ifdef __KERNEL__
#ifdef __KERNEL__
+#ifdef CONFIG_COMPAT
+
typedef struct sigevent32 {
sigval_t32 sigev_value;
int sigev_signo;
typedef struct sigevent32 {
sigval_t32 sigev_value;
int sigev_signo;
@@
-101,6
+107,8
@@
typedef struct sigevent32 {
extern int copy_siginfo_to_user32(siginfo_t32 __user *to, siginfo_t *from);
extern int copy_siginfo_to_user32(siginfo_t32 __user *to, siginfo_t *from);
+#endif /* CONFIG_COMPAT */
+
#endif /* __KERNEL__ */
#endif
#endif /* __KERNEL__ */
#endif