diff options
| author | David Howells <dhowells@redhat.com> | 2012-10-09 04:46:55 -0400 |
|---|---|---|
| committer | Richard Kuo <rkuo@codeaurora.org> | 2012-10-18 18:07:19 -0400 |
| commit | 3ed8d11585fdfcd27fc507401db442eae70db79e (patch) | |
| tree | 528e4f3097354d4c74a63d24aec653c116c39737 /arch/hexagon/include/asm | |
| parent | 32bec973a8435afc0b032da22174701f836549b2 (diff) | |
UAPI: (Scripted) Disintegrate arch/hexagon/include/asm
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/include/asm')
| -rw-r--r-- | arch/hexagon/include/asm/Kbuild | 3 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/bitsperlong.h | 26 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/byteorder.h | 28 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/kvm_para.h | 1 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/param.h | 26 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/ptrace.h | 35 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/registers.h | 236 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/setup.h | 29 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/sigcontext.h | 33 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/signal.h | 26 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/swab.h | 24 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/unistd.h | 31 | ||||
| -rw-r--r-- | arch/hexagon/include/asm/user.h | 81 |
13 files changed, 0 insertions, 579 deletions
diff --git a/arch/hexagon/include/asm/Kbuild b/arch/hexagon/include/asm/Kbuild index 3364b6966d2..3bfa9b30f44 100644 --- a/arch/hexagon/include/asm/Kbuild +++ b/arch/hexagon/include/asm/Kbuild | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | include include/asm-generic/Kbuild.asm | ||
| 2 | 1 | ||
| 3 | header-y += registers.h | ||
| 4 | header-y += ucontext.h | 2 | header-y += ucontext.h |
| 5 | header-y += user.h | ||
| 6 | 3 | ||
| 7 | generic-y += auxvec.h | 4 | generic-y += auxvec.h |
| 8 | generic-y += bug.h | 5 | generic-y += bug.h |
diff --git a/arch/hexagon/include/asm/bitsperlong.h b/arch/hexagon/include/asm/bitsperlong.h deleted file mode 100644 index 2701cae3426..00000000000 --- a/arch/hexagon/include/asm/bitsperlong.h +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 and | ||
| 6 | * only version 2 as published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program; if not, write to the Free Software | ||
| 15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
| 16 | * 02110-1301, USA. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #ifndef __ASM_HEXAGON_BITSPERLONG_H | ||
| 20 | #define __ASM_HEXAGON_BITSPERLONG_H | ||
| 21 | |||
| 22 | #define __BITS_PER_LONG 32 | ||
| 23 | |||
| 24 | #include <asm-generic/bitsperlong.h> | ||
| 25 | |||
| 26 | #endif | ||
diff --git a/arch/hexagon/include/asm/byteorder.h b/arch/hexagon/include/asm/byteorder.h deleted file mode 100644 index 0e19b9fe4ca..00000000000 --- a/arch/hexagon/include/asm/byteorder.h +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 and | ||
| 6 | * only version 2 as published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program; if not, write to the Free Software | ||
| 15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
| 16 | * 02110-1301, USA. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #ifndef _ASM_BYTEORDER_H | ||
| 20 | #define _ASM_BYTEORDER_H | ||
| 21 | |||
| 22 | #if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__) | ||
| 23 | # define __BYTEORDER_HAS_U64__ | ||
| 24 | #endif | ||
| 25 | |||
| 26 | #include <linux/byteorder/little_endian.h> | ||
| 27 | |||
| 28 | #endif /* _ASM_BYTEORDER_H */ | ||
diff --git a/arch/hexagon/include/asm/kvm_para.h b/arch/hexagon/include/asm/kvm_para.h deleted file mode 100644 index 14fab8f0b95..00000000000 --- a/arch/hexagon/include/asm/kvm_para.h +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | #include <asm-generic/kvm_para.h> | ||
diff --git a/arch/hexagon/include/asm/param.h b/arch/hexagon/include/asm/param.h deleted file mode 100644 index 285344bbd03..00000000000 --- a/arch/hexagon/include/asm/param.h +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 and | ||
| 6 | * only version 2 as published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program; if not, write to the Free Software | ||
| 15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
| 16 | * 02110-1301, USA. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #ifndef _ASM_PARAM_H | ||
| 20 | #define _ASM_PARAM_H | ||
| 21 | |||
| 22 | #define EXEC_PAGESIZE 16384 | ||
| 23 | |||
| 24 | #include <asm-generic/param.h> | ||
| 25 | |||
| 26 | #endif | ||
diff --git a/arch/hexagon/include/asm/ptrace.h b/arch/hexagon/include/asm/ptrace.h deleted file mode 100644 index 3d2f607cd63..00000000000 --- a/arch/hexagon/include/asm/ptrace.h +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Ptrace definitions for the Hexagon architecture | ||
| 3 | * | ||
| 4 | * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 and | ||
| 8 | * only version 2 as published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
| 18 | * 02110-1301, USA. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #ifndef _ASM_PTRACE_H | ||
| 22 | #define _ASM_PTRACE_H | ||
| 23 | |||
| 24 | #include <asm/registers.h> | ||
| 25 | |||
| 26 | #define instruction_pointer(regs) pt_elr(regs) | ||
| 27 | #define user_stack_pointer(regs) ((regs)->r29) | ||
| 28 | |||
| 29 | #define profile_pc(regs) instruction_pointer(regs) | ||
| 30 | |||
| 31 | /* kprobe-based event tracer support */ | ||
| 32 | extern int regs_query_register_offset(const char *name); | ||
| 33 | extern const char *regs_query_register_name(unsigned int offset); | ||
| 34 | |||
| 35 | #endif | ||
diff --git a/arch/hexagon/include/asm/registers.h b/arch/hexagon/include/asm/registers.h deleted file mode 100644 index 4dd741be855..00000000000 --- a/arch/hexagon/include/asm/registers.h +++ /dev/null | |||
| @@ -1,236 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Register definitions for the Hexagon architecture | ||
| 3 | * | ||
| 4 | * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 and | ||
| 8 | * only version 2 as published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, write to the Free Software | ||
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
| 18 | * 02110-1301, USA. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #ifndef _ASM_REGISTERS_H | ||
| 22 | #define _ASM_REGISTERS_H | ||
| 23 | |||
| 24 | #define SP r29 | ||
| 25 | |||
| 26 | #ifndef __ASSEMBLY__ | ||
| 27 | |||
| 28 | /* See kernel/entry.S for further documentation. */ | ||
| 29 | |||
| 30 | /* | ||
| 31 | * Entry code copies the event record out of guest registers into | ||
| 32 | * this structure (which is on the stack). | ||
| 33 | */ | ||
| 34 | |||
| 35 | struct hvm_event_record { | ||
| 36 | unsigned long vmel; /* Event Linkage (return address) */ | ||
| 37 | unsigned long vmest; /* Event context - pre-event SSR values */ | ||
| 38 | unsigned long vmpsp; /* Previous stack pointer */ | ||
| 39 | unsigned long vmbadva; /* Bad virtual address for addressing events */ | ||
| 40 | }; | ||
| 41 | |||
| 42 | struct pt_regs { | ||
| 43 | long restart_r0; /* R0 checkpoint for syscall restart */ | ||
| 44 | long syscall_nr; /* Only used in system calls */ | ||
| 45 | union { | ||
| 46 | struct { | ||
