diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
| commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
| tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /arch/powerpc/include/asm/siginfo.h | |
| parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) | |
Diffstat (limited to 'arch/powerpc/include/asm/siginfo.h')
| -rw-r--r-- | arch/powerpc/include/asm/siginfo.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/siginfo.h b/arch/powerpc/include/asm/siginfo.h new file mode 100644 index 00000000000..49495b0534e --- /dev/null +++ b/arch/powerpc/include/asm/siginfo.h | |||
| @@ -0,0 +1,21 @@ | |||
| 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 | # define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3) | ||
| 14 | #endif | ||
| 15 | |||
| 16 | #include <asm-generic/siginfo.h> | ||
| 17 | |||
| 18 | #undef NSIGTRAP | ||
| 19 | #define NSIGTRAP 4 | ||
| 20 | |||
| 21 | #endif /* _ASM_POWERPC_SIGINFO_H */ | ||
