summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/sparc/include/asm/siginfo.h
diff options
context:
space:
mode:
authorKevin2014-11-15 09:58:27 +0800
committerKevin2014-11-15 09:58:27 +0800
commit392e8802486cb573b916e746010e141a75f507e6 (patch)
tree50029aca02c81f087b90336e670b44e510782330 /ANDROID_3.4.5/arch/sparc/include/asm/siginfo.h
downloadFOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.gz
FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.bz2
FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.zip
init android origin source code
Diffstat (limited to 'ANDROID_3.4.5/arch/sparc/include/asm/siginfo.h')
-rw-r--r--ANDROID_3.4.5/arch/sparc/include/asm/siginfo.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/arch/sparc/include/asm/siginfo.h b/ANDROID_3.4.5/arch/sparc/include/asm/siginfo.h
new file mode 100644
index 00000000..215900fc
--- /dev/null
+++ b/ANDROID_3.4.5/arch/sparc/include/asm/siginfo.h
@@ -0,0 +1,35 @@
+#ifndef __SPARC_SIGINFO_H
+#define __SPARC_SIGINFO_H
+
+#if defined(__sparc__) && defined(__arch64__)
+
+#define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3)
+#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
+#define __ARCH_SI_BAND_T int
+
+#endif /* defined(__sparc__) && defined(__arch64__) */
+
+
+#define __ARCH_SI_TRAPNO
+
+#include <asm-generic/siginfo.h>
+
+#ifdef __KERNEL__
+
+#ifdef CONFIG_COMPAT
+
+struct compat_siginfo;
+
+#endif /* CONFIG_COMPAT */
+
+#endif /* __KERNEL__ */
+
+#define SI_NOINFO 32767 /* no information in siginfo_t */
+
+/*
+ * SIGEMT si_codes
+ */
+#define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
+#define NSIGEMT 1
+
+#endif /* !(__SPARC_SIGINFO_H) */