aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi/asm/siginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/uapi/asm/siginfo.h')
-rw-r--r--arch/powerpc/include/uapi/asm/siginfo.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/siginfo.h b/arch/powerpc/include/uapi/asm/siginfo.h
new file mode 100644
index 000000000000..ccce3ef5cd86
--- /dev/null
+++ b/arch/powerpc/include/uapi/asm/siginfo.h
@@ -0,0 +1,20 @@
1#ifndef _ASM_POWERPC_SIGINFO_H
2#define _ASM_POWERPC_SIGINFO_H
3
4/*
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.
9 */
10
11#ifdef __powerpc64__
12# define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
13#endif
14
15#include <asm-generic/siginfo.h>
16
17#undef NSIGTRAP
18#define NSIGTRAP 4
19
20#endif /* _ASM_POWERPC_SIGINFO_H */