diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /arch/sparc/include/asm/siginfo.h | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'arch/sparc/include/asm/siginfo.h')
-rw-r--r-- | arch/sparc/include/asm/siginfo.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/siginfo.h b/arch/sparc/include/asm/siginfo.h index 48c34c19f81..988e5d8ed11 100644 --- a/arch/sparc/include/asm/siginfo.h +++ b/arch/sparc/include/asm/siginfo.h | |||
@@ -1,8 +1,22 @@ | |||
1 | #ifndef __SPARC_SIGINFO_H | 1 | #ifndef __SPARC_SIGINFO_H |
2 | #define __SPARC_SIGINFO_H | 2 | #define __SPARC_SIGINFO_H |
3 | 3 | ||
4 | #include <uapi/asm/siginfo.h> | 4 | #if defined(__sparc__) && defined(__arch64__) |
5 | 5 | ||
6 | #define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3) | ||
7 | #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) | ||
8 | #define __ARCH_SI_BAND_T int | ||
9 | |||
10 | #endif /* defined(__sparc__) && defined(__arch64__) */ | ||
11 | |||
12 | |||
13 | #define __ARCH_SI_TRAPNO | ||
14 | |||
15 | #include <asm-generic/siginfo.h> | ||
16 | |||
17 | #ifdef __KERNEL__ | ||
18 | |||
19 | #include <linux/compat.h> | ||
6 | 20 | ||
7 | #ifdef CONFIG_COMPAT | 21 | #ifdef CONFIG_COMPAT |
8 | 22 | ||
@@ -10,4 +24,14 @@ struct compat_siginfo; | |||
10 | 24 | ||
11 | #endif /* CONFIG_COMPAT */ | 25 | #endif /* CONFIG_COMPAT */ |
12 | 26 | ||
27 | #endif /* __KERNEL__ */ | ||
28 | |||
29 | #define SI_NOINFO 32767 /* no information in siginfo_t */ | ||
30 | |||
31 | /* | ||
32 | * SIGEMT si_codes | ||
33 | */ | ||
34 | #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */ | ||
35 | #define NSIGEMT 1 | ||
36 | |||
13 | #endif /* !(__SPARC_SIGINFO_H) */ | 37 | #endif /* !(__SPARC_SIGINFO_H) */ |