diff options
| author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-10-09 08:18:10 -0400 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-10-09 08:18:10 -0400 |
| commit | ab08ff34b44f752b664ebb312d2e110cf37a7f5e (patch) | |
| tree | 80579bb79480ac303cad99c359549d4e86bcc773 | |
| parent | 450e47da67499aeb6f1700e8f84747460c11ab56 (diff) | |
| parent | 9807f75955ea7f1877981056755284481873115c (diff) | |
Merge tag 'disintegrate-s390-20121009' of
git://git.infradead.org/users/dhowells/linux-headers
Pull UAPI patchset from David Howells:
"Can you merge the following branch into the s390 tree please.
This is to complete part of the UAPI disintegration for which the
preparatory patches were pulled recently."
Conflicts:
arch/s390/include/asm/chpid.h
| -rw-r--r-- | arch/s390/include/asm/Kbuild | 14 | ||||
| -rw-r--r-- | arch/s390/include/asm/chpid.h | 17 | ||||
| -rw-r--r-- | arch/s390/include/asm/cmb.h | 51 | ||||
| -rw-r--r-- | arch/s390/include/asm/debug.h | 28 | ||||
| -rw-r--r-- | arch/s390/include/asm/kvm_para.h | 14 | ||||
| -rw-r--r-- | arch/s390/include/asm/mman.h | 6 | ||||
| -rw-r--r-- | arch/s390/include/asm/ptrace.h | 462 | ||||
| -rw-r--r-- | arch/s390/include/asm/schid.h | 15 | ||||
| -rw-r--r-- | arch/s390/include/asm/setup.h | 7 | ||||
| -rw-r--r-- | arch/s390/include/asm/signal.h | 128 | ||||
| -rw-r--r-- | arch/s390/include/asm/termios.h | 42 | ||||
| -rw-r--r-- | arch/s390/include/asm/types.h | 15 | ||||
| -rw-r--r-- | arch/s390/include/asm/unistd.h | 367 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/Kbuild | 45 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/auxvec.h (renamed from arch/s390/include/asm/auxvec.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/bitsperlong.h (renamed from arch/s390/include/asm/bitsperlong.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/byteorder.h (renamed from arch/s390/include/asm/byteorder.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/chpid.h | 22 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/chsc.h (renamed from arch/s390/include/asm/chsc.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/cmb.h | 53 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/dasd.h (renamed from arch/s390/include/asm/dasd.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/debug.h | 34 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/errno.h (renamed from arch/s390/include/asm/errno.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/fcntl.h (renamed from arch/s390/include/asm/fcntl.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/ioctl.h (renamed from arch/s390/include/asm/ioctl.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/ioctls.h (renamed from arch/s390/include/asm/ioctls.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/ipcbuf.h (renamed from arch/s390/include/asm/ipcbuf.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/kvm.h (renamed from arch/s390/include/asm/kvm.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/kvm_para.h | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/kvm_virtio.h (renamed from arch/s390/include/asm/kvm_virtio.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/mman.h | 6 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/monwriter.h (renamed from arch/s390/include/asm/monwriter.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/msgbuf.h (renamed from arch/s390/include/asm/msgbuf.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/param.h (renamed from arch/s390/include/asm/param.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/poll.h (renamed from arch/s390/include/asm/poll.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/posix_types.h (renamed from arch/s390/include/asm/posix_types.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/ptrace.h | 472 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/qeth.h (renamed from arch/s390/include/asm/qeth.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/resource.h (renamed from arch/s390/include/asm/resource.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/schid.h | 16 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/sembuf.h (renamed from arch/s390/include/asm/sembuf.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/setup.h | 13 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/shmbuf.h (renamed from arch/s390/include/asm/shmbuf.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/sigcontext.h (renamed from arch/s390/include/asm/sigcontext.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/siginfo.h (renamed from arch/s390/include/asm/siginfo.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/signal.h | 135 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/socket.h (renamed from arch/s390/include/asm/socket.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/sockios.h (renamed from arch/s390/include/asm/sockios.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/stat.h (renamed from arch/s390/include/asm/stat.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/statfs.h (renamed from arch/s390/include/asm/statfs.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/swab.h (renamed from arch/s390/include/asm/swab.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/tape390.h (renamed from arch/s390/include/asm/tape390.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/termbits.h (renamed from arch/s390/include/asm/termbits.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/termios.h | 49 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/types.h | 22 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/ucontext.h (renamed from arch/s390/include/asm/ucontext.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/unistd.h | 374 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/vtoc.h (renamed from arch/s390/include/asm/vtoc.h) | 0 | ||||
| -rw-r--r-- | arch/s390/include/uapi/asm/zcrypt.h (renamed from arch/s390/include/asm/zcrypt.h) | 0 |
59 files changed, 1258 insertions, 1149 deletions
diff --git a/arch/s390/include/asm/Kbuild b/arch/s390/include/asm/Kbuild index f18fc796beef..0633dc6d254d 100644 --- a/arch/s390/include/asm/Kbuild +++ b/arch/s390/include/asm/Kbuild | |||
| @@ -1,17 +1,3 @@ | |||
| 1 | include include/asm-generic/Kbuild.asm | ||
| 2 | 1 | ||
| 3 | header-y += chpid.h | ||
| 4 | header-y += chsc.h | ||
| 5 | header-y += cmb.h | ||
| 6 | header-y += dasd.h | ||
| 7 | header-y += debug.h | ||
| 8 | header-y += kvm_virtio.h | ||
| 9 | header-y += monwriter.h | ||
| 10 | header-y += qeth.h | ||
| 11 | header-y += schid.h | ||
| 12 | header-y += tape390.h | ||
| 13 | header-y += ucontext.h | ||
| 14 | header-y += vtoc.h | ||
| 15 | header-y += zcrypt.h | ||
| 16 | 2 | ||
| 17 | generic-y += clkdev.h | 3 | generic-y += clkdev.h |
diff --git a/arch/s390/include/asm/chpid.h b/arch/s390/include/asm/chpid.h index 8af0b92c90c6..38c405ef89ce 100644 --- a/arch/s390/include/asm/chpid.h +++ b/arch/s390/include/asm/chpid.h | |||
| @@ -2,23 +2,10 @@ | |||
| 2 | * Copyright IBM Corp. 2007, 2012 | 2 | * Copyright IBM Corp. 2007, 2012 |
| 3 | * Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 3 | * Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com> |
| 4 | */ | 4 | */ |
| 5 | |||
| 6 | #ifndef _ASM_S390_CHPID_H | 5 | #ifndef _ASM_S390_CHPID_H |
| 7 | #define _ASM_S390_CHPID_H | 6 | #define _ASM_S390_CHPID_H |
| 8 | 7 | ||
| 9 | #include <linux/string.h> | 8 | #include <uapi/asm/chpid.h> |
| 10 | #include <linux/types.h> | ||
| 11 | |||
| 12 | #define __MAX_CHPID 255 | ||
| 13 | |||
| 14 | struct chp_id { | ||
| 15 | __u8 reserved1; | ||
| 16 | __u8 cssid; | ||
| 17 | __u8 reserved2; | ||
| 18 | __u8 id; | ||
| 19 | } __attribute__((packed)); | ||
| 20 | |||
| 21 | #ifdef __KERNEL__ | ||
| 22 | #include <asm/cio.h> | 9 | #include <asm/cio.h> |
| 23 | 10 | ||
| 24 | static inline void chp_id_init(struct chp_id *chpid) | 11 | static inline void chp_id_init(struct chp_id *chpid) |
| @@ -49,6 +36,4 @@ static inline int chp_id_is_valid(struct chp_id *chpid) | |||
| 49 | 36 | ||
| 50 | #define chp_id_for_each(c) \ | 37 | #define chp_id_for_each(c) \ |
| 51 | for (chp_id_init(c); chp_id_is_valid(c); chp_id_next(c)) | 38 | for (chp_id_init(c); chp_id_is_valid(c); chp_id_next(c)) |
| 52 | #endif /* __KERNEL */ | ||
| 53 | |||
| 54 | #endif /* _ASM_S390_CHPID_H */ | 39 | #endif /* _ASM_S390_CHPID_H */ |
diff --git a/arch/s390/include/asm/cmb.h b/arch/s390/include/asm/cmb.h index 39ae03294794..806eac12e3bd 100644 --- a/arch/s390/include/asm/cmb.h +++ b/arch/s390/include/asm/cmb.h | |||
| @@ -1,61 +1,12 @@ | |||
| 1 | #ifndef S390_CMB_H | 1 | #ifndef S390_CMB_H |
| 2 | #define S390_CMB_H | 2 | #define S390_CMB_H |
| 3 | 3 | ||
| 4 | #include <linux/types.h> | 4 | #include <uapi/asm/cmb.h> |
| 5 | 5 | ||
| 6 | /** | ||
| 7 | * struct cmbdata - channel measurement block data for user space | ||
| 8 | * @size: size of the stored data | ||
| 9 | * @elapsed_time: time since last sampling | ||
| 10 | * @ssch_rsch_count: number of ssch and rsch | ||
| 11 | * @sample_count: number of samples | ||
| 12 | * @device_connect_time: time of device connect | ||
| 13 | * @function_pending_time: time of function pending | ||
| 14 | * @device_disconnect_time: time of device disconnect | ||
| 15 | * @control_unit_queuing_time: time of control unit queuing | ||
| 16 | * @device_active_only_time: time of device active only | ||
| 17 | * @device_busy_time: time of device busy (ext. format) | ||
| 18 | * @initial_command_response_time: initial command response time (ext. format) | ||
| 19 | * | ||
| 20 | * All values are stored as 64 bit for simplicity, especially | ||
| 21 | * in 32 bit emulation mode. All time values are normalized to | ||
| 22 | * nanoseconds. | ||
| 23 | * Currently, two formats are known, which differ by the size of | ||
| 24 | * this structure, i.e. the last two members are only set when | ||
| 25 | * the extended channel measurement facility (first shipped in | ||
| 26 | * z990 machines) is activated. | ||
| 27 | * Potentially, more fields could be added, which would result in a | ||
| 28 | * new ioctl number. | ||
| 29 | */ | ||
| 30< | |||
