aboutsummaryrefslogtreecommitdiff
path: root/original
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2013-11-23 01:15:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-11-23 01:15:37 +0000
commit3dc73341f059ef612ac1921a403762e5919e2e13 (patch)
treeec1861ec9ef6b114d897da72c0b323d724942351 /original
parent76e435957924caceead171973ae9680f5ae1db61 (diff)
parent35aadc794347dd96c5ca34696fc7aec60291eb02 (diff)
downloadkernel-headers-3dc73341f059ef612ac1921a403762e5919e2e13.tar.gz
Merge "Remove all non-uapi header files."
Diffstat (limited to 'original')
-rw-r--r--original/uapi/asm-aarch64/asm/bug.h1
-rw-r--r--original/uapi/asm-aarch64/asm/bugs.h1
-rw-r--r--original/uapi/asm-aarch64/asm/checksum.h1
-rw-r--r--original/uapi/asm-aarch64/asm/clkdev.h1
-rw-r--r--original/uapi/asm-aarch64/asm/cputime.h1
-rw-r--r--original/uapi/asm-aarch64/asm/current.h1
-rw-r--r--original/uapi/asm-aarch64/asm/delay.h1
-rw-r--r--original/uapi/asm-aarch64/asm/div64.h1
-rw-r--r--original/uapi/asm-aarch64/asm/dma.h1
-rw-r--r--original/uapi/asm-aarch64/asm/emergency-restart.h1
-rw-r--r--original/uapi/asm-aarch64/asm/ftrace.h1
-rw-r--r--original/uapi/asm-aarch64/asm/hw_irq.h1
-rw-r--r--original/uapi/asm-aarch64/asm/irq_regs.h1
-rw-r--r--original/uapi/asm-aarch64/asm/kdebug.h1
-rw-r--r--original/uapi/asm-aarch64/asm/kmap_types.h1
-rw-r--r--original/uapi/asm-aarch64/asm/kvm.h168
-rw-r--r--original/uapi/asm-aarch64/asm/local.h1
-rw-r--r--original/uapi/asm-aarch64/asm/local64.h1
-rw-r--r--original/uapi/asm-aarch64/asm/mutex.h1
-rw-r--r--original/uapi/asm-aarch64/asm/pci.h1
-rw-r--r--original/uapi/asm-aarch64/asm/percpu.h1
-rw-r--r--original/uapi/asm-aarch64/asm/scatterlist.h1
-rw-r--r--original/uapi/asm-aarch64/asm/sections.h1
-rw-r--r--original/uapi/asm-aarch64/asm/segment.h1
-rw-r--r--original/uapi/asm-aarch64/asm/serial.h1
-rw-r--r--original/uapi/asm-aarch64/asm/sizes.h1
-rw-r--r--original/uapi/asm-aarch64/asm/switch_to.h1
-rw-r--r--original/uapi/asm-aarch64/asm/topology.h1
-rw-r--r--original/uapi/asm-aarch64/asm/trace_clock.h1
-rw-r--r--original/uapi/asm-aarch64/asm/unaligned.h1
-rw-r--r--original/uapi/asm-aarch64/asm/user.h1
-rw-r--r--original/uapi/asm-aarch64/asm/vga.h1
-rw-r--r--original/uapi/asm-aarch64/asm/xor.h1
-rw-r--r--original/uapi/asm-arm/asm/user.h103
-rw-r--r--original/uapi/asm-mips/asm/trace_clock.h1
-rw-r--r--original/uapi/asm-x86/asm/clkdev.h1
-rw-r--r--original/uapi/asm-x86/asm/syscalls_32.h329
-rw-r--r--original/uapi/video/adf.h12
38 files changed, 6 insertions, 640 deletions
diff --git a/original/uapi/asm-aarch64/asm/bug.h b/original/uapi/asm-aarch64/asm/bug.h
deleted file mode 100644
index b12fd89..0000000
--- a/original/uapi/asm-aarch64/asm/bug.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/bug.h>
diff --git a/original/uapi/asm-aarch64/asm/bugs.h b/original/uapi/asm-aarch64/asm/bugs.h
deleted file mode 100644
index 61791e1..0000000
--- a/original/uapi/asm-aarch64/asm/bugs.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/bugs.h>
diff --git a/original/uapi/asm-aarch64/asm/checksum.h b/original/uapi/asm-aarch64/asm/checksum.h
deleted file mode 100644
index adbb5e6..0000000
--- a/original/uapi/asm-aarch64/asm/checksum.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/checksum.h>
diff --git a/original/uapi/asm-aarch64/asm/clkdev.h b/original/uapi/asm-aarch64/asm/clkdev.h
deleted file mode 100644
index 1cf3cfa..0000000
--- a/original/uapi/asm-aarch64/asm/clkdev.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/clkdev.h>
diff --git a/original/uapi/asm-aarch64/asm/cputime.h b/original/uapi/asm-aarch64/asm/cputime.h
deleted file mode 100644
index 6d68ad7..0000000
--- a/original/uapi/asm-aarch64/asm/cputime.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/cputime.h>
diff --git a/original/uapi/asm-aarch64/asm/current.h b/original/uapi/asm-aarch64/asm/current.h
deleted file mode 100644
index 4c51401..0000000
--- a/original/uapi/asm-aarch64/asm/current.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/current.h>
diff --git a/original/uapi/asm-aarch64/asm/delay.h b/original/uapi/asm-aarch64/asm/delay.h
deleted file mode 100644
index 9670e12..0000000
--- a/original/uapi/asm-aarch64/asm/delay.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/delay.h>
diff --git a/original/uapi/asm-aarch64/asm/div64.h b/original/uapi/asm-aarch64/asm/div64.h
deleted file mode 100644
index 6cd978c..0000000
--- a/original/uapi/asm-aarch64/asm/div64.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/div64.h>
diff --git a/original/uapi/asm-aarch64/asm/dma.h b/original/uapi/asm-aarch64/asm/dma.h
deleted file mode 100644
index 7ce20d9..0000000
--- a/original/uapi/asm-aarch64/asm/dma.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/dma.h>
diff --git a/original/uapi/asm-aarch64/asm/emergency-restart.h b/original/uapi/asm-aarch64/asm/emergency-restart.h
deleted file mode 100644
index 3711bd9..0000000
--- a/original/uapi/asm-aarch64/asm/emergency-restart.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/emergency-restart.h>
diff --git a/original/uapi/asm-aarch64/asm/ftrace.h b/original/uapi/asm-aarch64/asm/ftrace.h
deleted file mode 100644
index efc3320..0000000
--- a/original/uapi/asm-aarch64/asm/ftrace.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/ftrace.h>
diff --git a/original/uapi/asm-aarch64/asm/hw_irq.h b/original/uapi/asm-aarch64/asm/hw_irq.h
deleted file mode 100644
index 1f5ef7d..0000000
--- a/original/uapi/asm-aarch64/asm/hw_irq.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/hw_irq.h>
diff --git a/original/uapi/asm-aarch64/asm/irq_regs.h b/original/uapi/asm-aarch64/asm/irq_regs.h
deleted file mode 100644
index 3dd9c0b..0000000
--- a/original/uapi/asm-aarch64/asm/irq_regs.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/irq_regs.h>
diff --git a/original/uapi/asm-aarch64/asm/kdebug.h b/original/uapi/asm-aarch64/asm/kdebug.h
deleted file mode 100644
index 6ece1b0..0000000
--- a/original/uapi/asm-aarch64/asm/kdebug.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/kdebug.h>
diff --git a/original/uapi/asm-aarch64/asm/kmap_types.h b/original/uapi/asm-aarch64/asm/kmap_types.h
deleted file mode 100644
index 3575c64..0000000
--- a/original/uapi/asm-aarch64/asm/kmap_types.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/kmap_types.h>
diff --git a/original/uapi/asm-aarch64/asm/kvm.h b/original/uapi/asm-aarch64/asm/kvm.h
deleted file mode 100644
index 5031f42..0000000
--- a/original/uapi/asm-aarch64/asm/kvm.h
+++ /dev/null
@@ -1,168 +0,0 @@
-/*
- * Copyright (C) 2012,2013 - ARM Ltd
- * Author: Marc Zyngier <marc.zyngier@arm.com>
- *
- * Derived from arch/arm/include/uapi/asm/kvm.h:
- * Copyright (C) 2012 - Virtual Open Systems and Columbia University
- * Author: Christoffer Dall <c.dall@virtualopensystems.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __ARM_KVM_H__
-#define __ARM_KVM_H__
-
-#define KVM_SPSR_EL1 0
-#define KVM_SPSR_SVC KVM_SPSR_EL1
-#define KVM_SPSR_ABT 1
-#define KVM_SPSR_UND 2
-#define KVM_SPSR_IRQ 3
-#define KVM_SPSR_FIQ 4
-#define KVM_NR_SPSR 5
-
-#ifndef __ASSEMBLY__
-#include <asm/types.h>
-#include <asm/ptrace.h>
-
-#define __KVM_HAVE_GUEST_DEBUG
-#define __KVM_HAVE_IRQ_LINE
-
-#define KVM_REG_SIZE(id) \
- (1U << (((id) & KVM_REG_SIZE_MASK) >> KVM_REG_SIZE_SHIFT))
-
-struct kvm_regs {
- struct user_pt_regs regs; /* sp = sp_el0 */
-
- __u64 sp_el1;
- __u64 elr_el1;
-
- __u64 spsr[KVM_NR_SPSR];
-
- struct user_fpsimd_state fp_regs;
-};
-
-/* Supported Processor Types */
-#define KVM_ARM_TARGET_AEM_V8 0
-#define KVM_ARM_TARGET_FOUNDATION_V8 1
-#define KVM_ARM_TARGET_CORTEX_A57 2
-
-#define KVM_ARM_NUM_TARGETS 3
-
-/* KVM_ARM_SET_DEVICE_ADDR ioctl id encoding */
-#define KVM_ARM_DEVICE_TYPE_SHIFT 0
-#define KVM_ARM_DEVICE_TYPE_MASK (0xffff << KVM_ARM_DEVICE_TYPE_SHIFT)
-#define KVM_ARM_DEVICE_ID_SHIFT 16
-#define KVM_ARM_DEVICE_ID_MASK (0xffff << KVM_ARM_DEVICE_ID_SHIFT)
-
-/* Supported device IDs */
-#define KVM_ARM_DEVICE_VGIC_V2 0
-
-/* Supported VGIC address types */
-#define KVM_VGIC_V2_ADDR_TYPE_DIST 0
-#define KVM_VGIC_V2_ADDR_TYPE_CPU 1
-
-#define KVM_VGIC_V2_DIST_SIZE 0x1000
-#define KVM_VGIC_V2_CPU_SIZE 0x2000
-
-#define KVM_ARM_VCPU_POWER_OFF 0 /* CPU is started in OFF state */
-#define KVM_ARM_VCPU_EL1_32BIT 1 /* CPU running a 32bit VM */
-
-struct kvm_vcpu_init {
- __u32 target;
- __u32 features[7];
-};
-
-struct kvm_sregs {
-};
-
-struct kvm_fpu {
-};
-
-struct kvm_guest_debug_arch {
-};
-
-struct kvm_debug_exit_arch {
-};
-
-struct kvm_sync_regs {
-};
-
-struct kvm_arch_memory_slot {
-};
-
-/* If you need to interpret the index values, here is the key: */
-#define KVM_REG_ARM_COPROC_MASK 0x000000000FFF0000
-#define KVM_REG_ARM_COPROC_SHIFT 16
-
-/* Normal registers are mapped as coprocessor 16. */
-#define KVM_REG_ARM_CORE (0x0010 << KVM_REG_ARM_COPROC_SHIFT)
-#define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32))
-
-/* Some registers need more space to represent values. */
-#define KVM_REG_ARM_DEMUX (0x0011 << KVM_REG_ARM_COPROC_SHIFT)
-#define KVM_REG_ARM_DEMUX_ID_MASK 0x000000000000FF00
-#define KVM_REG_ARM_DEMUX_ID_SHIFT 8
-#define KVM_REG_ARM_DEMUX_ID_CCSIDR (0x00 << KVM_REG_ARM_DEMUX_ID_SHIFT)
-#define KVM_REG_ARM_DEMUX_VAL_MASK 0x00000000000000FF
-#define KVM_REG_ARM_DEMUX_VAL_SHIFT 0
-
-/* AArch64 system registers */
-#define KVM_REG_ARM64_SYSREG (0x0013 << KVM_REG_ARM_COPROC_SHIFT)
-#define KVM_REG_ARM64_SYSREG_OP0_MASK 0x000000000000c000
-#define KVM_REG_ARM64_SYSREG_OP0_SHIFT 14
-#define KVM_REG_ARM64_SYSREG_OP1_MASK 0x0000000000003800
-#define KVM_REG_ARM64_SYSREG_OP1_SHIFT 11
-#define KVM_REG_ARM64_SYSREG_CRN_MASK 0x0000000000000780
-#define KVM_REG_ARM64_SYSREG_CRN_SHIFT 7
-#define KVM_REG_ARM64_SYSREG_CRM_MASK 0x0000000000000078
-#define KVM_REG_ARM64_SYSREG_CRM_SHIFT 3
-#define KVM_REG_ARM64_SYSREG_OP2_MASK 0x0000000000000007
-#define KVM_REG_ARM64_SYSREG_OP2_SHIFT 0
-
-/* KVM_IRQ_LINE irq field index values */
-#define KVM_ARM_IRQ_TYPE_SHIFT 24
-#define KVM_ARM_IRQ_TYPE_MASK 0xff
-#define KVM_ARM_IRQ_VCPU_SHIFT 16
-#define KVM_ARM_IRQ_VCPU_MASK 0xff
-#define KVM_ARM_IRQ_NUM_SHIFT 0
-#define KVM_ARM_IRQ_NUM_MASK 0xffff
-
-/* irq_type field */
-#define KVM_ARM_IRQ_TYPE_CPU 0
-#define KVM_ARM_IRQ_TYPE_SPI 1
-#define KVM_ARM_IRQ_TYPE_PPI 2
-
-/* out-of-kernel GIC cpu interrupt injection irq_number field */
-#define KVM_ARM_IRQ_CPU_IRQ 0
-#define KVM_ARM_IRQ_CPU_FIQ 1
-
-/* Highest supported SPI, from VGIC_NR_IRQS */
-#define KVM_ARM_IRQ_GIC_MAX 127
-
-/* PSCI interface */
-#define KVM_PSCI_FN_BASE 0x95c1ba5e
-#define KVM_PSCI_FN(n) (KVM_PSCI_FN_BASE + (n))
-
-#define KVM_PSCI_FN_CPU_SUSPEND KVM_PSCI_FN(0)
-#define KVM_PSCI_FN_CPU_OFF KVM_PSCI_FN(1)
-#define KVM_PSCI_FN_CPU_ON KVM_PSCI_FN(2)
-#define KVM_PSCI_FN_MIGRATE KVM_PSCI_FN(3)
-
-#define KVM_PSCI_RET_SUCCESS 0
-#define KVM_PSCI_RET_NI ((unsigned long)-1)
-#define KVM_PSCI_RET_INVAL ((unsigned long)-2)
-#define KVM_PSCI_RET_DENIED ((unsigned long)-3)
-
-#endif
-
-#endif /* __ARM_KVM_H__ */
diff --git a/original/uapi/asm-aarch64/asm/local.h b/original/uapi/asm-aarch64/asm/local.h
deleted file mode 100644
index c11c530..0000000
--- a/original/uapi/asm-aarch64/asm/local.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/local.h>
diff --git a/original/uapi/asm-aarch64/asm/local64.h b/original/uapi/asm-aarch64/asm/local64.h
deleted file mode 100644
index 36c93b5..0000000
--- a/original/uapi/asm-aarch64/asm/local64.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/local64.h>
diff --git a/original/uapi/asm-aarch64/asm/mutex.h b/original/uapi/asm-aarch64/asm/mutex.h
deleted file mode 100644
index 6c2390a..0000000
--- a/original/uapi/asm-aarch64/asm/mutex.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/mutex.h>
diff --git a/original/uapi/asm-aarch64/asm/pci.h b/original/uapi/asm-aarch64/asm/pci.h
deleted file mode 100644
index 9f0df5f..0000000
--- a/original/uapi/asm-aarch64/asm/pci.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/pci.h>
diff --git a/original/uapi/asm-aarch64/asm/percpu.h b/original/uapi/asm-aarch64/asm/percpu.h
deleted file mode 100644
index 06a959d..0000000
--- a/original/uapi/asm-aarch64/asm/percpu.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/percpu.h>
diff --git a/original/uapi/asm-aarch64/asm/scatterlist.h b/original/uapi/asm-aarch64/asm/scatterlist.h
deleted file mode 100644
index 35d786f..0000000
--- a/original/uapi/asm-aarch64/asm/scatterlist.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/scatterlist.h>
diff --git a/original/uapi/asm-aarch64/asm/sections.h b/original/uapi/asm-aarch64/asm/sections.h
deleted file mode 100644
index 2b8c516..0000000
--- a/original/uapi/asm-aarch64/asm/sections.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/sections.h>
diff --git a/original/uapi/asm-aarch64/asm/segment.h b/original/uapi/asm-aarch64/asm/segment.h
deleted file mode 100644
index f1b81e5..0000000
--- a/original/uapi/asm-aarch64/asm/segment.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/segment.h>
diff --git a/original/uapi/asm-aarch64/asm/serial.h b/original/uapi/asm-aarch64/asm/serial.h
deleted file mode 100644
index a0cb0ca..0000000
--- a/original/uapi/asm-aarch64/asm/serial.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/serial.h>
diff --git a/original/uapi/asm-aarch64/asm/sizes.h b/original/uapi/asm-aarch64/asm/sizes.h
deleted file mode 100644
index dd248c2..0000000
--- a/original/uapi/asm-aarch64/asm/sizes.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/sizes.h>
diff --git a/original/uapi/asm-aarch64/asm/switch_to.h b/original/uapi/asm-aarch64/asm/switch_to.h
deleted file mode 100644
index 995dd75..0000000
--- a/original/uapi/asm-aarch64/asm/switch_to.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/switch_to.h>
diff --git a/original/uapi/asm-aarch64/asm/topology.h b/original/uapi/asm-aarch64/asm/topology.h
deleted file mode 100644
index 5428f33..0000000
--- a/original/uapi/asm-aarch64/asm/topology.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/topology.h>
diff --git a/original/uapi/asm-aarch64/asm/trace_clock.h b/original/uapi/asm-aarch64/asm/trace_clock.h
deleted file mode 100644
index 39a5bb0..0000000
--- a/original/uapi/asm-aarch64/asm/trace_clock.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/trace_clock.h>
diff --git a/original/uapi/asm-aarch64/asm/unaligned.h b/original/uapi/asm-aarch64/asm/unaligned.h
deleted file mode 100644
index 6cecbbb..0000000
--- a/original/uapi/asm-aarch64/asm/unaligned.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/unaligned.h>
diff --git a/original/uapi/asm-aarch64/asm/user.h b/original/uapi/asm-aarch64/asm/user.h
deleted file mode 100644
index 4792a60..0000000
--- a/original/uapi/asm-aarch64/asm/user.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/user.h>
diff --git a/original/uapi/asm-aarch64/asm/vga.h b/original/uapi/asm-aarch64/asm/vga.h
deleted file mode 100644
index 89d82fd..0000000
--- a/original/uapi/asm-aarch64/asm/vga.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/vga.h>
diff --git a/original/uapi/asm-aarch64/asm/xor.h b/original/uapi/asm-aarch64/asm/xor.h
deleted file mode 100644
index c82eb12..0000000
--- a/original/uapi/asm-aarch64/asm/xor.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/xor.h>
diff --git a/original/uapi/asm-arm/asm/user.h b/original/uapi/asm-arm/asm/user.h
deleted file mode 100644
index 35917b3..0000000
--- a/original/uapi/asm-arm/asm/user.h
+++ /dev/null
@@ -1,103 +0,0 @@
-#ifndef _ARM_USER_H
-#define _ARM_USER_H
-
-#include <asm/page.h>
-#include <asm/ptrace.h>
-/* Core file format: The core file is written in such a way that gdb
- can understand it and provide useful information to the user (under
- linux we use the 'trad-core' bfd). There are quite a number of
- obstacles to being able to view the contents of the floating point
- registers, and until these are solved you will not be able to view the
- contents of them. Actually, you can read in the core file and look at
- the contents of the user struct to find out what the floating point
- registers contain.
- The actual file contents are as follows:
- UPAGE: 1 page consisting of a user struct that tells gdb what is present
- in the file. Directly after this is a copy of the task_struct, which
- is currently not used by gdb, but it may come in useful at some point.
- All of the registers are stored as part of the upage. The upage should
- always be only one page.
- DATA: The data area is stored. We use current->end_text to
- current->brk to pick up all of the user variables, plus any memory
- that may have been malloced. No attempt is made to determine if a page
- is demand-zero or if a page is totally unused, we just cover the entire
- range. All of the addresses are rounded in such a way that an integral
- number of pages is written.
- STACK: We need the stack information in order to get a meaningful
- backtrace. We need to write the data from (esp) to
- current->start_stack, so we round each of these off in order to be able
- to write an integer number of pages.
- The minimum core file size is 3 pages, or 12288 bytes.
-*/
-
-struct user_fp {
- struct fp_reg {
- unsigned int sign1:1;
- unsigned int unused:15;
- unsigned int sign2:1;
- unsigned int exponent:14;
- unsigned int j:1;
- unsigned int mantissa1:31;
- unsigned int mantissa0:32;
- } fpregs[8];
- unsigned int fpsr:32;
- unsigned int fpcr:32;
- unsigned char ftype[8];
- unsigned int init_flag;
-};
-
-/* When the kernel dumps core, it starts by dumping the user struct -
- this will be used by gdb to figure out where the data and stack segments
- are within the file, and what virtual addresses to use. */
-struct user{
-/* We start with the registers, to mimic the way that "memory" is returned
- from the ptrace(3,...) function. */
- struct pt_regs regs; /* Where the registers are actually stored */
-/* ptrace does not yet supply these. Someday.... */
- int u_fpvalid; /* True if math co-processor being used. */
- /* for this mess. Not yet used. */
-/* The rest of this junk is to help gdb figure out what goes where */
- unsigned long int u_tsize; /* Text segment size (pages). */
- unsigned long int u_dsize; /* Data segment size (pages). */
- unsigned long int u_ssize; /* Stack segment size (pages). */
- unsigned long start_code; /* Starting virtual address of text. */
- unsigned long start_stack; /* Starting virtual address of stack area.
- This is actually the bottom of the stack,
- the top of the stack is always found in the
- esp register. */
- long int signal; /* Signal that caused the core dump. */
- int reserved; /* No longer used */
- unsigned long u_ar0; /* Used by gdb to help find the values for */
- /* the registers. */
- unsigned long magic; /* To uniquely identify a core file */
- char u_comm[32]; /* User command that was responsible */
- int u_debugreg[8]; /* No longer used */
- struct user_fp u_fp; /* FP state */
- struct user_fp_struct * u_fp0;/* Used by gdb to help find the values for */
- /* the FP registers. */
-};
-#define NBPG PAGE_SIZE
-#define UPAGES 1
-#define HOST_TEXT_START_ADDR (u.start_code)
-#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
-
-/*
- * User specific VFP registers. If only VFPv2 is present, registers 16 to 31
- * are ignored by the ptrace system call and the signal handler.
- */
-struct user_vfp {
- unsigned long long fpregs[32];
- unsigned long fpscr;
-};
-
-/*
- * VFP exception registers exposed to user space during signal delivery.
- * Fields not relavant to the current VFP architecture are ignored.
- */
-struct user_vfp_exc {
- unsigned long fpexc;
- unsigned long fpinst;
- unsigned long fpinst2;
-};
-
-#endif /* _ARM_USER_H */
diff --git a/original/uapi/asm-mips/asm/trace_clock.h b/original/uapi/asm-mips/asm/trace_clock.h
deleted file mode 100644
index 39a5bb0..0000000
--- a/original/uapi/asm-mips/asm/trace_clock.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/trace_clock.h>
diff --git a/original/uapi/asm-x86/asm/clkdev.h b/original/uapi/asm-x86/asm/clkdev.h
deleted file mode 100644
index 1cf3cfa..0000000
--- a/original/uapi/asm-x86/asm/clkdev.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/clkdev.h>
diff --git a/original/uapi/asm-x86/asm/syscalls_32.h b/original/uapi/asm-x86/asm/syscalls_32.h
deleted file mode 100644
index 158859f..0000000
--- a/original/uapi/asm-x86/asm/syscalls_32.h
+++ /dev/null
@@ -1,329 +0,0 @@
-__SYSCALL_I386(0, sys_restart_syscall, sys_restart_syscall)
-__SYSCALL_I386(1, sys_exit, sys_exit)
-__SYSCALL_I386(2, sys_fork, stub32_fork)
-__SYSCALL_I386(3, sys_read, sys_read)
-__SYSCALL_I386(4, sys_write, sys_write)
-__SYSCALL_I386(5, sys_open, compat_sys_open)
-__SYSCALL_I386(6, sys_close, sys_close)
-__SYSCALL_I386(7, sys_waitpid, sys32_waitpid)
-__SYSCALL_I386(8, sys_creat, sys_creat)
-__SYSCALL_I386(9, sys_link, sys_link)
-__SYSCALL_I386(10, sys_unlink, sys_unlink)
-__SYSCALL_I386(11, sys_execve, stub32_execve)
-__SYSCALL_I386(12, sys_chdir, sys_chdir)
-__SYSCALL_I386(13, sys_time, compat_sys_time)
-__SYSCALL_I386(14, sys_mknod, sys_mknod)
-__SYSCALL_I386(15, sys_chmod, sys_chmod)
-__SYSCALL_I386(16, sys_lchown16, sys_lchown16)
-__SYSCALL_I386(18, sys_stat, sys_stat)
-__SYSCALL_I386(19, sys_lseek, compat_sys_lseek)
-__SYSCALL_I386(20, sys_getpid, sys_getpid)
-__SYSCALL_I386(21, sys_mount, compat_sys_mount)
-__SYSCALL_I386(22, sys_oldumount, sys_oldumount)
-__SYSCALL_I386(23, sys_setuid16, sys_setuid16)
-__SYSCALL_I386(24, sys_getuid16, sys_getuid16)
-__SYSCALL_I386(25, sys_stime, compat_sys_stime)
-__SYSCALL_I386(26, sys_ptrace, compat_sys_ptrace)
-__SYSCALL_I386(27, sys_alarm, sys_alarm)
-__SYSCALL_I386(28, sys_fstat, sys_fstat)
-__SYSCALL_I386(29, sys_pause, sys_pause)
-__SYSCALL_I386(30, sys_utime, compat_sys_utime)
-__SYSCALL_I386(33, sys_access, sys_access)
-__SYSCALL_I386(34, sys_nice, sys_nice)
-__SYSCALL_I386(36, sys_sync, sys_sync)
-__SYSCALL_I386(37, sys_kill, sys_kill)
-__SYSCALL_I386(38, sys_rename, sys_rename)
-__SYSCALL_I386(39, sys_mkdir, sys_mkdir)
-__SYSCALL_I386(40, sys_rmdir, sys_rmdir)
-__SYSCALL_I386(41, sys_dup, sys_dup)
-__SYSCALL_I386(42, sys_pipe, sys_pipe)
-__SYSCALL_I386(43, sys_times, compat_sys_times)
-__SYSCALL_I386(45, sys_brk, sys_brk)
-__SYSCALL_I386(46, sys_setgid16, sys_setgid16)
-__SYSCALL_I386(47, sys_getgid16, sys_getgid16)
-__SYSCALL_I386(48, sys_signal, sys_signal)
-__SYSCALL_I386(49, sys_geteuid16, sys_geteuid16)
-__SYSCALL_I386(50, sys_getegid16, sys_getegid16)
-__SYSCALL_I386(51, sys_acct, sys_acct)
-__SYSCALL_I386(52, sys_umount, sys_umount)
-__SYSCALL_I386(54, sys_ioctl, compat_sys_ioctl)
-__SYSCALL_I386(55, sys_fcntl, compat_sys_fcntl64)
-__SYSCALL_I386(57, sys_setpgid, sys_setpgid)
-__SYSCALL_I386(59, sys_olduname, sys_olduname)
-__SYSCALL_I386(60, sys_umask, sys_umask)
-__SYSCALL_I386(61, sys_chroot, sys_chroot)
-__SYSCALL_I386(62, sys_ustat, compat_sys_ustat)
-__SYSCALL_I386(63, sys_dup2, sys_dup2)
-__SYSCALL_I386(64, sys_getppid, sys_getppid)
-__SYSCALL_I386(65, sys_getpgrp, sys_getpgrp)
-__SYSCALL_I386(66, sys_setsid, sys_setsid)
-__SYSCALL_I386(67, sys_sigaction, compat_sys_sigaction)
-__SYSCALL_I386(68, sys_sgetmask, sys_sgetmask)
-__SYSCALL_I386(69, sys_ssetmask, sys_ssetmask)
-__SYSCALL_I386(70, sys_setreuid16, sys_setreuid16)
-__SYSCALL_I386(71, sys_setregid16, sys_setregid16)
-__SYSCALL_I386(72, sys_sigsuspend, sys_sigsuspend)
-__SYSCALL_I386(73, sys_sigpending, compat_sys_sigpending)
-__SYSCALL_I386(74, sys_sethostname, sys_sethostname)
-__SYSCALL_I386(75, sys_setrlimit, compat_sys_setrlimit)
-__SYSCALL_I386(76, sys_old_getrlimit, compat_sys_old_getrlimit)
-__SYSCALL_I386(77, sys_getrusage, compat_sys_getrusage)
-__SYSCALL_I386(78, sys_gettimeofday, compat_sys_gettimeofday)
-__SYSCALL_I386(79, sys_settimeofday, compat_sys_settimeofday)
-__SYSCALL_I386(80, sys_getgroups16, sys_getgroups16)
-__SYSCALL_I386(81, sys_setgroups16, sys_setgroups16)
-__SYSCALL_I386(82, sys_old_select, compat_sys_old_select)
-__SYSCALL_I386(83, sys_symlink, sys_symlink)
-__SYSCALL_I386(84, sys_lstat, sys_lstat)
-__SYSCALL_I386(85, sys_readlink, sys_readlink)
-__SYSCALL_I386(86, sys_uselib, sys_uselib)
-__SYSCALL_I386(87, sys_swapon, sys_swapon)
-__SYSCALL_I386(88, sys_reboot, sys_reboot)
-__SYSCALL_I386(89, sys_old_readdir, compat_sys_old_readdir)
-__SYSCALL_I386(90, sys_old_mmap, sys32_mmap)
-__SYSCALL_I386(91, sys_munmap, sys_munmap)
-__SYSCALL_I386(92, sys_truncate, compat_sys_truncate)
-__SYSCALL_I386(93, sys_ftruncate, compat_sys_ftruncate)
-__SYSCALL_I386(94, sys_fchmod, sys_fchmod)
-__SYSCALL_I386(95, sys_fchown16, sys_fchown16)
-__SYSCALL_I386(96, sys_getpriority, sys_getpriority)
-__SYSCALL_I386(97, sys_setpriority, sys_setpriority)
-__SYSCALL_I386(99, sys_statfs, compat_sys_statfs)
-__SYSCALL_I386(100, sys_fstatfs, compat_sys_fstatfs)
-__SYSCALL_I386(101, sys_ioperm, sys_ioperm)
-__SYSCALL_I386(102, sys_socketcall, compat_sys_socketcall)
-__SYSCALL_I386(103, sys_syslog, sys_syslog)
-__SYSCALL_I386(104, sys_setitimer, compat_sys_setitimer)
-__SYSCALL_I386(105, sys_getitimer, compat_sys_getitimer)
-__SYSCALL_I386(106, sys_newstat, compat_sys_newstat)
-__SYSCALL_I386(107, sys_newlstat, compat_sys_newlstat)
-__SYSCALL_I386(108, sys_newfstat, compat_sys_newfstat)
-__SYSCALL_I386(109, sys_uname, sys_uname)
-__SYSCALL_I386(110, sys_iopl, sys_iopl)
-__SYSCALL_I386(111, sys_vhangup, sys_vhangup)
-__SYSCALL_I386(113, sys_vm86old, sys32_vm86_warning)
-__SYSCALL_I386(114, sys_wait4, compat_sys_wait4)
-__SYSCALL_I386(115, sys_swapoff, sys_swapoff)
-__SYSCALL_I386(116, sys_sysinfo, compat_sys_sysinfo)
-__SYSCALL_I386(117, sys_ipc, compat_sys_ipc)
-__SYSCALL_I386(118, sys_fsync, sys_fsync)
-__SYSCALL_I386(119, sys_sigreturn, stub32_sigreturn)
-__SYSCALL_I386(120, sys_clone, stub32_clone)
-__SYSCALL_I386(121, sys_setdomainname, sys_setdomainname)
-__SYSCALL_I386(122, sys_newuname, sys_newuname)
-__SYSCALL_I386(123, sys_modify_ldt, sys_modify_ldt)
-__SYSCALL_I386(124, sys_adjtimex, compat_sys_adjtimex)
-__SYSCALL_I386(125, sys_mprotect, sys_mprotect)
-__SYSCALL_I386(126, sys_sigprocmask, compat_sys_sigprocmask)
-__SYSCALL_I386(128, sys_init_module, sys_init_module)
-__SYSCALL_I386(129, sys_delete_module, sys_delete_module)
-__SYSCALL_I386(131, sys_quotactl, sys32_quotactl)
-__SYSCALL_I386(132, sys_getpgid, sys_getpgid)
-__SYSCALL_I386(133, sys_fchdir, sys_fchdir)
-__SYSCALL_I386(134, sys_bdflush, sys_bdflush)
-__SYSCALL_I386(135, sys_sysfs, sys_sysfs)
-__SYSCALL_I386(136, sys_personality, sys_personality)
-__SYSCALL_I386(138, sys_setfsuid16, sys_setfsuid16)
-__SYSCALL_I386(139, sys_setfsgid16, sys_setfsgid16)
-__SYSCALL_I386(140, sys_llseek, sys_llseek)
-__SYSCALL_I386(141, sys_getdents, compat_sys_getdents)
-__SYSCALL_I386(142, sys_select, compat_sys_select)
-__SYSCALL_I386(143, sys_flock, sys_flock)
-__SYSCALL_I386(144, sys_msync, sys_msync)
-__SYSCALL_I386(145, sys_readv, compat_sys_readv)
-__SYSCALL_I386(146, sys_writev, compat_sys_writev)
-__SYSCALL_I386(147, sys_getsid, sys_getsid)
-__SYSCALL_I386(148, sys_fdatasync, sys_fdatasync)
-__SYSCALL_I386(149, sys_sysctl, compat_sys_sysctl)
-__SYSCALL_I386(150, sys_mlock, sys_mlock)
-__SYSCALL_I386(151, sys_munlock, sys_munlock)
-__SYSCALL_I386(152, sys_mlockall, sys_mlockall)
-__SYSCALL_I386(153, sys_munlockall, sys_munlockall)
-__SYSCALL_I386(154, sys_sched_setparam, sys_sched_setparam)
-__SYSCALL_I386(155, sys_sched_getparam, sys_sched_getparam)
-__SYSCALL_I386(156, sys_sched_setscheduler, sys_sched_setscheduler)
-__SYSCALL_I386(157, sys_sched_getscheduler, sys_sched_getscheduler)
-__SYSCALL_I386(158, sys_sched_yield, sys_sched_yield)
-__SYSCALL_I386(159, sys_sched_get_priority_max, sys_sched_get_priority_max)
-__SYSCALL_I386(160, sys_sched_get_priority_min, sys_sched_get_priority_min)
-__SYSCALL_I386(161, sys_sched_rr_get_interval, compat_sys_sched_rr_get_interval)
-__SYSCALL_I386(162, sys_nanosleep, compat_sys_nanosleep)
-__SYSCALL_I386(163, sys_mremap, sys_mremap)
-__SYSCALL_I386(164, sys_setresuid16, sys_setresuid16)
-__SYSCALL_I386(165, sys_getresuid16, sys_getresuid16)
-__SYSCALL_I386(166, sys_vm86, sys32_vm86_warning)
-__SYSCALL_I386(168, sys_poll, sys_poll)
-__SYSCALL_I386(170, sys_setresgid16, sys_setresgid16)
-__SYSCALL_I386(171, sys_getresgid16, sys_getresgid16)
-__SYSCALL_I386(172, sys_prctl, sys_prctl)
-__SYSCALL_I386(173, sys_rt_sigreturn, stub32_rt_sigreturn)
-__SYSCALL_I386(174, sys_rt_sigaction, compat_sys_rt_sigaction)
-__SYSCALL_I386(175, sys_rt_sigprocmask, sys_rt_sigprocmask)
-__SYSCALL_I386(176, sys_rt_sigpending, compat_sys_rt_sigpending)
-__SYSCALL_I386(177, sys_rt_sigtimedwait, compat_sys_rt_sigtimedwait)
-__SYSCALL_I386(178, sys_rt_sigqueueinfo, compat_sys_rt_sigqueueinfo)
-__SYSCALL_I386(179, sys_rt_sigsuspend, sys_rt_sigsuspend)
-__SYSCALL_I386(180, sys_pread64, sys32_pread)
-__SYSCALL_I386(181, sys_pwrite64, sys32_pwrite)
-__SYSCALL_I386(182, sys_chown16, sys_chown16)
-__SYSCALL_I386(183, sys_getcwd, sys_getcwd)
-__SYSCALL_I386(184, sys_capget, sys_capget)
-__SYSCALL_I386(185, sys_capset, sys_capset)
-__SYSCALL_I386(186, sys_sigaltstack, compat_sys_sigaltstack)
-__SYSCALL_I386(187, sys_sendfile, compat_sys_sendfile)
-__SYSCALL_I386(190, sys_vfork, stub32_vfork)
-__SYSCALL_I386(191, sys_getrlimit, compat_sys_getrlimit)
-__SYSCALL_I386(192, sys_mmap_pgoff, sys_mmap_pgoff)
-__SYSCALL_I386(193, sys_truncate64, sys32_truncate64)
-__SYSCALL_I386(194, sys_ftruncate64, sys32_ftruncate64)
-__SYSCALL_I386(195, sys_stat64, sys32_stat64)
-__SYSCALL_I386(196, sys_lstat64, sys32_lstat64)
-__SYSCALL_I386(197, sys_fstat64, sys32_fstat64)
-__SYSCALL_I386(198, sys_lchown, sys_lchown)
-__SYSCALL_I386(199, sys_getuid, sys_getuid)
-__SYSCALL_I386(200, sys_getgid, sys_getgid)
-__SYSCALL_I386(201, sys_geteuid, sys_geteuid)
-__SYSCALL_I386(202, sys_getegid, sys_getegid)
-__SYSCALL_I386(203, sys_setreuid, sys_setreuid)
-__SYSCALL_I386(204, sys_setregid, sys_setregid)
-__SYSCALL_I386(205, sys_getgroups, sys_getgroups)
-__SYSCALL_I386(206, sys_setgroups, sys_setgroups)
-__SYSCALL_I386(207, sys_fchown, sys_fchown)
-__SYSCALL_I386(208, sys_setresuid, sys_setresuid)
-__SYSCALL_I386(209, sys_getresuid, sys_getresuid)
-__SYSCALL_I386(210, sys_setresgid, sys_setresgid)
-__SYSCALL_I386(211, sys_getresgid, sys_getresgid)
-__SYSCALL_I386(212, sys_chown, sys_chown)
-__SYSCALL_I386(213, sys_setuid, sys_setuid)
-__SYSCALL_I386(214, sys_setgid, sys_setgid)
-__SYSCALL_I386(215, sys_setfsuid, sys_setfsuid)
-__SYSCALL_I386(216, sys_setfsgid, sys_setfsgid)
-__SYSCALL_I386(217, sys_pivot_root, sys_pivot_root)
-__SYSCALL_I386(218, sys_mincore, sys_mincore)
-__SYSCALL_I386(219, sys_madvise, sys_madvise)
-__SYSCALL_I386(220, sys_getdents64, compat_sys_getdents64)
-__SYSCALL_I386(221, sys_fcntl64, compat_sys_fcntl64)
-__SYSCALL_I386(224, sys_gettid, sys_gettid)
-__SYSCALL_I386(225, sys_readahead, sys32_readahead)
-__SYSCALL_I386(226, sys_setxattr, sys_setxattr)
-__SYSCALL_I386(227, sys_lsetxattr, sys_lsetxattr)
-__SYSCALL_I386(228, sys_fsetxattr, sys_fsetxattr)
-__SYSCALL_I386(229, sys_getxattr, sys_getxattr)
-__SYSCALL_I386(230, sys_lgetxattr, sys_lgetxattr)
-__SYSCALL_I386(231, sys_fgetxattr, sys_fgetxattr)
-__SYSCALL_I386(232, sys_listxattr, sys_listxattr)
-__SYSCALL_I386(233, sys_llistxattr, sys_llistxattr)
-__SYSCALL_I386(234, sys_flistxattr, sys_flistxattr)
-__SYSCALL_I386(235, sys_removexattr, sys_removexattr)
-__SYSCALL_I386(236, sys_lremovexattr, sys_lremovexattr)
-__SYSCALL_I386(237, sys_fremovexattr, sys_fremovexattr)
-__SYSCALL_I386(238, sys_tkill, sys_tkill)
-__SYSCALL_I386(239, sys_sendfile64, sys_sendfile64)
-__SYSCALL_I386(240, sys_futex, compat_sys_futex)
-__SYSCALL_I386(241, sys_sched_setaffinity, compat_sys_sched_setaffinity)
-__SYSCALL_I386(242, sys_sched_getaffinity, compat_sys_sched_getaffinity)
-__SYSCALL_I386(243, sys_set_thread_area, sys_set_thread_area)
-__SYSCALL_I386(244, sys_get_thread_area, sys_get_thread_area)
-__SYSCALL_I386(245, sys_io_setup, compat_sys_io_setup)
-__SYSCALL_I386(246, sys_io_destroy, sys_io_destroy)
-__SYSCALL_I386(247, sys_io_getevents, compat_sys_io_getevents)
-__SYSCALL_I386(248, sys_io_submit, compat_sys_io_submit)
-__SYSCALL_I386(249, sys_io_cancel, sys_io_cancel)
-__SYSCALL_I386(250, sys_fadvise64, sys32_fadvise64)
-__SYSCALL_I386(252, sys_exit_group, sys_exit_group)
-__SYSCALL_I386(253, sys_lookup_dcookie, compat_sys_lookup_dcookie)
-__SYSCALL_I386(254, sys_epoll_create, sys_epoll_create)
-__SYSCALL_I386(255, sys_epoll_ctl, sys_epoll_ctl)
-__SYSCALL_I386(256, sys_epoll_wait, sys_epoll_wait)
-__SYSCALL_I386(257, sys_remap_file_pages, sys_remap_file_pages)
-__SYSCALL_I386(258, sys_set_tid_address, sys_set_tid_address)
-__SYSCALL_I386(259, sys_timer_create, compat_sys_timer_create)
-__SYSCALL_I386(260, sys_timer_settime, compat_sys_timer_settime)
-__SYSCALL_I386(261, sys_timer_gettime, compat_sys_timer_gettime)
-__SYSCALL_I386(262, sys_timer_getoverrun, sys_timer_getoverrun)
-__SYSCALL_I386(263, sys_timer_delete, sys_timer_delete)
-__SYSCALL_I386(264, sys_clock_settime, compat_sys_clock_settime)
-__SYSCALL_I386(265, sys_clock_gettime, compat_sys_clock_gettime)
-__SYSCALL_I386(266, sys_clock_getres, compat_sys_clock_getres)
-__SYSCALL_I386(267, sys_clock_nanosleep, compat_sys_clock_nanosleep)
-__SYSCALL_I386(268, sys_statfs64, compat_sys_statfs64)
-__SYSCALL_I386(269, sys_fstatfs64, compat_sys_fstatfs64)
-__SYSCALL_I386(270, sys_tgkill, sys_tgkill)
-__SYSCALL_I386(271, sys_utimes, compat_sys_utimes)
-__SYSCALL_I386(272, sys_fadvise64_64, sys32_fadvise64_64)
-__SYSCALL_I386(274, sys_mbind, sys_mbind)
-__SYSCALL_I386(275, sys_get_mempolicy, compat_sys_get_mempolicy)
-__SYSCALL_I386(276, sys_set_mempolicy, sys_set_mempolicy)
-__SYSCALL_I386(277, sys_mq_open, compat_sys_mq_open)
-__SYSCALL_I386(278, sys_mq_unlink, sys_mq_unlink)
-__SYSCALL_I386(279, sys_mq_timedsend, compat_sys_mq_timedsend)
-__SYSCALL_I386(280, sys_mq_timedreceive, compat_sys_mq_timedreceive)
-__SYSCALL_I386(281, sys_mq_notify, compat_sys_mq_notify)
-__SYSCALL_I386(282, sys_mq_getsetattr, compat_sys_mq_getsetattr)
-__SYSCALL_I386(283, sys_kexec_load, compat_sys_kexec_load)
-__SYSCALL_I386(284, sys_waitid, compat_sys_waitid)
-__SYSCALL_I386(286, sys_add_key, sys_add_key)
-__SYSCALL_I386(287, sys_request_key, sys_request_key)
-__SYSCALL_I386(288, sys_keyctl, sys_keyctl)
-__SYSCALL_I386(289, sys_ioprio_set, sys_ioprio_set)
-__SYSCALL_I386(290, sys_ioprio_get, sys_ioprio_get)
-__SYSCALL_I386(291, sys_inotify_init, sys_inotify_init)
-__SYSCALL_I386(292, sys_inotify_add_watch, sys_inotify_add_watch)
-__SYSCALL_I386(293, sys_inotify_rm_watch, sys_inotify_rm_watch)
-__SYSCALL_I386(294, sys_migrate_pages, sys_migrate_pages)
-__SYSCALL_I386(295, sys_openat, compat_sys_openat)
-__SYSCALL_I386(296, sys_mkdirat, sys_mkdirat)
-__SYSCALL_I386(297, sys_mknodat, sys_mknodat)
-__SYSCALL_I386(298, sys_fchownat, sys_fchownat)
-__SYSCALL_I386(299, sys_futimesat, compat_sys_futimesat)
-__SYSCALL_I386(300, sys_fstatat64, sys32_fstatat)
-__SYSCALL_I386(301, sys_unlinkat, sys_unlinkat)
-__SYSCALL_I386(302, sys_renameat, sys_renameat)
-__SYSCALL_I386(303, sys_linkat, sys_linkat)
-__SYSCALL_I386(304, sys_symlinkat, sys_symlinkat)
-__SYSCALL_I386(305, sys_readlinkat, sys_readlinkat)
-__SYSCALL_I386(306, sys_fchmodat, sys_fchmodat)
-__SYSCALL_I386(307, sys_faccessat, sys_faccessat)
-__SYSCALL_I386(308, sys_pselect6, compat_sys_pselect6)
-__SYSCALL_I386(309, sys_ppoll, compat_sys_ppoll)
-__SYSCALL_I386(310, sys_unshare, sys_unshare)
-__SYSCALL_I386(311, sys_set_robust_list, compat_sys_set_robust_list)
-__SYSCALL_I386(312, sys_get_robust_list, compat_sys_get_robust_list)
-__SYSCALL_I386(313, sys_splice, sys_splice)
-__SYSCALL_I386(314, sys_sync_file_range, sys32_sync_file_range)
-__SYSCALL_I386(315, sys_tee, sys_tee)
-__SYSCALL_I386(316, sys_vmsplice, compat_sys_vmsplice)
-__SYSCALL_I386(317, sys_move_pages, compat_sys_move_pages)
-__SYSCALL_I386(318, sys_getcpu, sys_getcpu)
-__SYSCALL_I386(319, sys_epoll_pwait, sys_epoll_pwait)
-__SYSCALL_I386(320, sys_utimensat, compat_sys_utimensat)
-__SYSCALL_I386(321, sys_signalfd, compat_sys_signalfd)
-__SYSCALL_I386(322, sys_timerfd_create, sys_timerfd_create)
-__SYSCALL_I386(323, sys_eventfd, sys_eventfd)
-__SYSCALL_I386(324, sys_fallocate, sys32_fallocate)
-__SYSCALL_I386(325, sys_timerfd_settime, compat_sys_timerfd_settime)
-__SYSCALL_I386(326, sys_timerfd_gettime, compat_sys_timerfd_gettime)
-__SYSCALL_I386(327, sys_signalfd4, compat_sys_signalfd4)
-__SYSCALL_I386(328, sys_eventfd2, sys_eventfd2)
-__SYSCALL_I386(329, sys_epoll_create1, sys_epoll_create1)
-__SYSCALL_I386(330, sys_dup3, sys_dup3)
-__SYSCALL_I386(331, sys_pipe2, sys_pipe2)
-__SYSCALL_I386(332, sys_inotify_init1, sys_inotify_init1)
-__SYSCALL_I386(333, sys_preadv, compat_sys_preadv)
-__SYSCALL_I386(334, sys_pwritev, compat_sys_pwritev)
-__SYSCALL_I386(335, sys_rt_tgsigqueueinfo, compat_sys_rt_tgsigqueueinfo)
-__SYSCALL_I386(336, sys_perf_event_open, sys_perf_event_open)
-__SYSCALL_I386(337, sys_recvmmsg, compat_sys_recvmmsg)
-__SYSCALL_I386(338, sys_fanotify_init, sys_fanotify_init)
-__SYSCALL_I386(339, sys_fanotify_mark, compat_sys_fanotify_mark)
-__SYSCALL_I386(340, sys_prlimit64, sys_prlimit64)
-__SYSCALL_I386(341, sys_name_to_handle_at, sys_name_to_handle_at)
-__SYSCALL_I386(342, sys_open_by_handle_at, compat_sys_open_by_handle_at)
-__SYSCALL_I386(343, sys_clock_adjtime, compat_sys_clock_adjtime)
-__SYSCALL_I386(344, sys_syncfs, sys_syncfs)
-__SYSCALL_I386(345, sys_sendmmsg, compat_sys_sendmmsg)
-__SYSCALL_I386(346, sys_setns, sys_setns)
-__SYSCALL_I386(347, sys_process_vm_readv, compat_sys_process_vm_readv)
-__SYSCALL_I386(348, sys_process_vm_writev, compat_sys_process_vm_writev)
-__SYSCALL_I386(349, sys_kcmp, sys_kcmp)
-__SYSCALL_I386(350, sys_finit_module, sys_finit_module)
diff --git a/original/uapi/video/adf.h b/original/uapi/video/adf.h
index 2ba345c..38458f6 100644
--- a/original/uapi/video/adf.h
+++ b/original/uapi/video/adf.h
@@ -22,7 +22,7 @@
#include <drm/drm_mode.h>
#define ADF_NAME_LEN 32
-#define ADF_MAX_CUSTOM_DATA_SIZE PAGE_SIZE
+#define ADF_MAX_CUSTOM_DATA_SIZE 4096
enum adf_interface_type {
ADF_INTF_DSI = 0,
@@ -126,7 +126,7 @@ struct adf_buffer_config {
__s64 acquire_fence;
};
-#define ADF_MAX_BUFFERS (PAGE_SIZE / sizeof(struct adf_buffer_config))
+#define ADF_MAX_BUFFERS (4096 / sizeof(struct adf_buffer_config))
/**
* struct adf_post_config - request to flip to a new set of buffers
@@ -152,7 +152,7 @@ struct adf_post_config {
__s64 complete_fence;
};
-#define ADF_MAX_INTERFACES (PAGE_SIZE / sizeof(__u32))
+#define ADF_MAX_INTERFACES (4096 / sizeof(__u32))
/**
* struct adf_simple_buffer_allocate - request to allocate a "simple" buffer
@@ -233,7 +233,7 @@ struct adf_device_data {
size_t custom_data_size;
void __user *custom_data;
};
-#define ADF_MAX_ATTACHMENTS (PAGE_SIZE / sizeof(struct adf_attachment))
+#define ADF_MAX_ATTACHMENTS (4096 / sizeof(struct adf_attachment_config))
/**
* struct adf_device_data - describes a display interface
@@ -273,7 +273,7 @@ struct adf_interface_data {
size_t custom_data_size;
void __user *custom_data;
};
-#define ADF_MAX_MODES (PAGE_SIZE / sizeof(struct drm_mode_modeinfo))
+#define ADF_MAX_MODES (4096 / sizeof(struct drm_mode_modeinfo))
/**
* struct adf_overlay_engine_data - describes an overlay engine
@@ -293,7 +293,7 @@ struct adf_overlay_engine_data {
size_t custom_data_size;
void __user *custom_data;
};
-#define ADF_MAX_SUPPORTED_FORMATS (PAGE_SIZE / sizeof(__u32))
+#define ADF_MAX_SUPPORTED_FORMATS (4096 / sizeof(__u32))
#define ADF_SET_EVENT _IOW('D', 0, struct adf_set_event)
#define ADF_BLANK _IOW('D', 1, __u8)