]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/asm-s390/siginfo.h
Linux-2.6.12-rc2
[mirror_ubuntu-artful-kernel.git] / include / asm-s390 / siginfo.h
1 /*
2 * include/asm-s390/siginfo.h
3 *
4 * S390 version
5 *
6 * Derived from "include/asm-i386/siginfo.h"
7 */
8
9 #ifndef _S390_SIGINFO_H
10 #define _S390_SIGINFO_H
11
12 #ifdef __s390x__
13 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
14 #endif
15
16 #ifdef CONFIG_ARCH_S390X
17 #define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4)
18 #else
19 #define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 3)
20 #endif
21
22 #include <asm-generic/siginfo.h>
23
24 #endif