diff options
author | Richard Weinberger <richard@nod.at> | 2015-03-18 16:28:15 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-13 15:00:48 -0400 |
commit | aaeac66b1a02d399ec8ee63e8d617c1d601ea353 (patch) | |
tree | f3b578f774332b45aa3e3ca5d1272bf67e034225 /arch/um/sys-ppc/asm | |
parent | 23fc5f156bddbaaa8939a74c67dfd5bf6d07f596 (diff) |
um: Remove ppc cruft
That code is a relict from the early days of UML.
ppc support was never completed nor worked.
Let's rip it out.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/sys-ppc/asm')
-rw-r--r-- | arch/um/sys-ppc/asm/archparam.h | 8 | ||||
-rw-r--r-- | arch/um/sys-ppc/asm/elf.h | 51 | ||||
-rw-r--r-- | arch/um/sys-ppc/asm/processor.h | 15 |
3 files changed, 0 insertions, 74 deletions
diff --git a/arch/um/sys-ppc/asm/archparam.h b/arch/um/sys-ppc/asm/archparam.h deleted file mode 100644 index 4269d8a37b4f..000000000000 --- a/arch/um/sys-ppc/asm/archparam.h +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | #ifndef __UM_ARCHPARAM_PPC_H | ||
2 | #define __UM_ARCHPARAM_PPC_H | ||
3 | |||
4 | /********* Bits for asm-um/string.h **********/ | ||
5 | |||
6 | #define __HAVE_ARCH_STRRCHR | ||
7 | |||
8 | #endif | ||
diff --git a/arch/um/sys-ppc/asm/elf.h b/arch/um/sys-ppc/asm/elf.h deleted file mode 100644 index 8aacaf56508d..000000000000 --- a/arch/um/sys-ppc/asm/elf.h +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | #ifndef __UM_ELF_PPC_H | ||
2 | #define __UM_ELF_PPC_H | ||
3 | |||
4 | |||
5 | extern long elf_aux_hwcap; | ||
6 | #define ELF_HWCAP (elf_aux_hwcap) | ||
7 | |||
8 | #define SET_PERSONALITY(ex) do ; while(0) | ||
9 | |||
10 | #define ELF_EXEC_PAGESIZE 4096 | ||
11 | |||
12 | #define elf_check_arch(x) (1) | ||
13 | |||
14 | #ifdef CONFIG_64BIT | ||
15 | #define ELF_CLASS ELFCLASS64 | ||
16 | #else | ||
17 | #define ELF_CLASS ELFCLASS32 | ||
18 | #endif | ||
19 | |||
20 | #define R_386_NONE 0 | ||
21 | #define R_386_32 1 | ||
22 | #define R_386_PC32 2 | ||
23 | #define R_386_GOT32 3 | ||
24 | #define R_386_PLT32 4 | ||
25 | #define R_386_COPY 5 | ||
26 | #define R_386_GLOB_DAT 6 | ||
27 | #define R_386_JMP_SLOT 7 | ||
28 | #define R_386_RELATIVE 8 | ||
29 | #define R_386_GOTOFF 9 | ||
30 | #define R_386_GOTPC 10 | ||
31 | #define R_386_NUM 11 | ||
32 | |||
33 | #define ELF_PLATFORM (0) | ||
34 | |||
35 | #define ELF_ET_DYN_BASE (0x08000000) | ||
36 | |||
37 | /* the following stolen from asm-ppc/elf.h */ | ||
38 | #define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ | ||
39 | #define ELF_NFPREG 33 /* includes fpscr */ | ||
40 | /* General registers */ | ||
41 | typedef unsigned long elf_greg_t; | ||
42 | typedef elf_greg_t elf_gregset_t[ELF_NGREG]; | ||
43 | |||
44 | /* Floating point registers */ | ||
45 | typedef double elf_fpreg_t; | ||
46 | typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; | ||
47 | |||
48 | #define ELF_DATA ELFDATA2MSB | ||
49 | #define ELF_ARCH EM_PPC | ||
50 | |||
51 | #endif | ||
diff --git a/arch/um/sys-ppc/asm/processor.h b/arch/um/sys-ppc/asm/processor.h deleted file mode 100644 index 959323151229..000000000000 --- a/arch/um/sys-ppc/asm/processor.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #ifndef __UM_PROCESSOR_PPC_H | ||
2 | #define __UM_PROCESSOR_PPC_H | ||
3 | |||
4 | #if defined(__ASSEMBLY__) | ||
5 | |||
6 | #define CONFIG_PPC_MULTIPLATFORM | ||
7 | #include "arch/processor.h" | ||
8 | |||
9 | #else | ||
10 | |||
11 | #include "asm/processor-generic.h" | ||
12 | |||
13 | #endif | ||
14 | |||
15 | #endif | ||