diff options
Diffstat (limited to 'include/asm-ppc')
| -rw-r--r-- | include/asm-ppc/msgbuf.h | 25 | ||||
| -rw-r--r-- | include/asm-ppc/param.h | 24 | ||||
| -rw-r--r-- | include/asm-ppc/setup.h | 14 | ||||
| -rw-r--r-- | include/asm-ppc/timex.h | 40 | ||||
| -rw-r--r-- | include/asm-ppc/topology.h | 6 | ||||
| -rw-r--r-- | include/asm-ppc/user.h | 54 |
6 files changed, 0 insertions, 163 deletions
diff --git a/include/asm-ppc/msgbuf.h b/include/asm-ppc/msgbuf.h deleted file mode 100644 index 1053452a9376..000000000000 --- a/include/asm-ppc/msgbuf.h +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | #ifndef _PPC_MSGBUF_H | ||
| 2 | #define _PPC_MSGBUF_H | ||
| 3 | |||
| 4 | /* | ||
| 5 | * The msqid64_ds structure for the PPC architecture. | ||
| 6 | */ | ||
| 7 | |||
| 8 | struct msqid64_ds { | ||
| 9 | struct ipc64_perm msg_perm; | ||
| 10 | unsigned int __unused1; | ||
| 11 | __kernel_time_t msg_stime; /* last msgsnd time */ | ||
| 12 | unsigned int __unused2; | ||
| 13 | __kernel_time_t msg_rtime; /* last msgrcv time */ | ||
| 14 | unsigned int __unused3; | ||
| 15 | __kernel_time_t msg_ctime; /* last change time */ | ||
| 16 | unsigned long msg_cbytes; /* current number of bytes on queue */ | ||
| 17 | unsigned long msg_qnum; /* number of messages in queue */ | ||
| 18 | unsigned long msg_qbytes; /* max number of bytes on queue */ | ||
| 19 | __kernel_pid_t msg_lspid; /* pid of last msgsnd */ | ||
| 20 | __kernel_pid_t msg_lrpid; /* last receive pid */ | ||
| 21 | unsigned long __unused4; | ||
| 22 | unsigned long __unused5; | ||
| 23 | }; | ||
| 24 | |||
| 25 | #endif /* _PPC_MSGBUF_H */ | ||
diff --git a/include/asm-ppc/param.h b/include/asm-ppc/param.h deleted file mode 100644 index 6198b1657a45..000000000000 --- a/include/asm-ppc/param.h +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | #ifndef _ASM_PPC_PARAM_H | ||
| 2 | #define _ASM_PPC_PARAM_H | ||
| 3 | |||
| 4 | #include <linux/config.h> | ||
| 5 | |||
| 6 | #ifdef __KERNEL__ | ||
| 7 | #define HZ CONFIG_HZ /* internal timer frequency */ | ||
| 8 | #define USER_HZ 100 /* for user interfaces in "ticks" */ | ||
| 9 | #define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */ | ||
| 10 | #endif /* __KERNEL__ */ | ||
| 11 | |||
| 12 | #ifndef HZ | ||
| 13 | #define HZ 100 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | #define EXEC_PAGESIZE 4096 | ||
| 17 | |||
| 18 | #ifndef NOGROUP | ||
| 19 | #define NOGROUP (-1) | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ | ||
| 23 | |||
| 24 | #endif | ||
diff --git a/include/asm-ppc/setup.h b/include/asm-ppc/setup.h deleted file mode 100644 index d2d19ee103df..000000000000 --- a/include/asm-ppc/setup.h +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | #ifdef __KERNEL__ | ||
| 2 | #ifndef _PPC_SETUP_H | ||
| 3 | #define _PPC_SETUP_H | ||
| 4 | |||
| 5 | #define m68k_num_memory num_memory | ||
| 6 | #define m68k_memory memory | ||
| 7 | |||
| 8 | #include <asm-m68k/setup.h> | ||
| 9 | /* We have a bigger command line buffer. */ | ||
| 10 | #undef COMMAND_LINE_SIZE | ||
| 11 | #define COMMAND_LINE_SIZE 512 | ||
| 12 | |||
| 13 | #endif /* _PPC_SETUP_H */ | ||
| 14 | #endif /* __KERNEL__ */ | ||
diff --git a/include/asm-ppc/timex.h b/include/asm-ppc/timex.h deleted file mode 100644 index cffc8712077c..000000000000 --- a/include/asm-ppc/timex.h +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * include/asm-ppc/timex.h | ||
| 3 | * | ||
| 4 | * ppc architecture timex specifications | ||
| 5 | */ | ||
| 6 | #ifdef __KERNEL__ | ||
| 7 | #ifndef _ASMppc_TIMEX_H | ||
| 8 | #define _ASMppc_TIMEX_H | ||
| 9 | |||
| 10 | #include <linux/config.h> | ||
| 11 | #include <asm/cputable.h> | ||
| 12 | |||
| 13 | #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ | ||
| 14 | |||
| 15 | typedef unsigned long cycles_t; | ||
| 16 | |||
| 17 | /* | ||
| 18 | * For the "cycle" counter we use the timebase lower half. | ||
| 19 | * Currently only used on SMP. | ||
| 20 | */ | ||
| 21 | |||
| 22 | static inline cycles_t get_cycles(void) | ||
| 23 | { | ||
| 24 | cycles_t ret = 0; | ||
| 25 | |||
| 26 | __asm__ __volatile__( | ||
| 27 | "98: mftb %0\n" | ||
| 28 | "99:\n" | ||
| 29 | ".section __ftr_fixup,\"a\"\n" | ||
| 30 | " .long %1\n" | ||
| 31 | " .long 0\n" | ||
| 32 | " .long 98b\n" | ||
| 33 | " .long 99b\n" | ||
| 34 | ".previous" | ||
| 35 | : "=r" (ret) : "i" (CPU_FTR_601)); | ||
| 36 | return ret; | ||
| 37 | } | ||
| 38 | |||
| 39 | #endif | ||
| 40 | #endif /* __KERNEL__ */ | ||
diff --git a/include/asm-ppc/topology.h b/include/asm-ppc/topology.h deleted file mode 100644 index 6a029bbba6e1..000000000000 --- a/include/asm-ppc/topology.h +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | #ifndef _ASM_PPC_TOPOLOGY_H | ||
| 2 | #define _ASM_PPC_TOPOLOGY_H | ||
| 3 | |||
| 4 | #include <asm-generic/topology.h> | ||
| 5 | |||
| 6 | #endif /* _ASM_PPC_TOPOLOGY_H */ | ||
diff --git a/include/asm-ppc/user.h b/include/asm-ppc/user.h deleted file mode 100644 index d662b2151370..000000000000 --- a/include/asm-ppc/user.h +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | #ifdef __KERNEL__ | ||
| 2 | #ifndef _PPC_USER_H | ||
| 3 | #define _PPC_USER_H | ||
| 4 | |||
| 5 | /* Adapted from <asm-alpha/user.h> */ | ||
| 6 | |||
| 7 | #include <linux/ptrace.h> | ||
| 8 | #include <asm/page.h> | ||
| 9 | |||
| 10 | /* | ||
| 11 | * Core file format: The core file is written in such a way that gdb | ||
| 12 | * can understand it and provide useful information to the user (under | ||
| 13 | * linux we use the `trad-core' bfd, NOT the osf-core). The file contents | ||
| 14 | * are as follows: | ||
| 15 | * | ||
| 16 | * upage: 1 page consisting of a user struct that tells gdb | ||
| 17 | * what is present in the file. Directly after this is a | ||
| 18 | * copy of the task_struct, which is currently not used by gdb, | ||
| 19 | * but it may come in handy at some point. All of the registers | ||
| 20 | * are stored as part of the upage. The upage should always be | ||
| 21 | * only one page long. | ||
| 22 | * data: The data segment follows next. We use current->end_text to | ||
| 23 | * current->brk to pick up all of the user variables, plus any memory | ||
| 24 | * that may have been sbrk'ed. No attempt is made to determine if a | ||
| 25 | * page is demand-zero or if a page is totally unused, we just cover | ||
| 26 | * the entire range. All of the addresses are rounded in such a way | ||
| 27 | * that an integral number of pages is written. | ||
| 28 | * stack: We need the stack information in order to get a meaningful | ||
| 29 | * backtrace. We need to write the data from usp to | ||
| 30 | * current->start_stack, so we round each of these in order to be able | ||
| 31 | * to write an integer number of pages. | ||
| 32 | */ | ||
| 33 | struct user { | ||
| 34 | struct pt_regs regs; /* entire machine state */ | ||
| 35 | size_t u_tsize; /* text size (pages) */ | ||
| 36 | size_t u_dsize; /* data size (pages) */ | ||
| 37 | size_t u_ssize; /* stack size (pages) */ | ||
| 38 | unsigned long start_code; /* text starting address */ | ||
| 39 | unsigned long start_data; /* data starting address */ | ||
| 40 | unsigned long start_stack; /* stack starting address */ | ||
| 41 | long int signal; /* signal causing core dump */ | ||
| 42 | struct regs * u_ar0; /* help gdb find registers */ | ||
| 43 | unsigned long magic; /* identifies a core file */ | ||
| 44 | char u_comm[32]; /* user command name */ | ||
| 45 | }; | ||
| 46 | |||
| 47 | #define NBPG PAGE_SIZE | ||
| 48 | #define UPAGES 1 | ||
| 49 | #define HOST_TEXT_START_ADDR (u.start_code) | ||
| 50 | #define HOST_DATA_START_ADDR (u.start_data) | ||
| 51 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) | ||
| 52 | |||
| 53 | #endif /* _PPC_USER_H */ | ||
| 54 | #endif /* __KERNEL__ */ | ||
