mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[POWERPC] powerpc32: Remove asm-offsets ptrace cruft
These items in asm-offsets.c are not used anywhere. This removes them. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
59861bc6ee
commit
163dab39b5
1 changed files with 0 additions and 4 deletions
|
@ -26,8 +26,6 @@
|
|||
#ifdef CONFIG_PPC64
|
||||
#include <linux/time.h>
|
||||
#include <linux/hardirq.h>
|
||||
#else
|
||||
#include <linux/ptrace.h>
|
||||
#endif
|
||||
|
||||
#include <asm/io.h>
|
||||
|
@ -60,7 +58,6 @@ int main(void)
|
|||
DEFINE(AUDITCONTEXT, offsetof(struct task_struct, audit_context));
|
||||
#else
|
||||
DEFINE(THREAD_INFO, offsetof(struct task_struct, stack));
|
||||
DEFINE(PTRACE, offsetof(struct task_struct, ptrace));
|
||||
#endif /* CONFIG_PPC64 */
|
||||
|
||||
DEFINE(KSP, offsetof(struct thread_struct, ksp));
|
||||
|
@ -80,7 +77,6 @@ int main(void)
|
|||
DEFINE(PGDIR, offsetof(struct thread_struct, pgdir));
|
||||
#if defined(CONFIG_4xx) || defined(CONFIG_BOOKE)
|
||||
DEFINE(THREAD_DBCR0, offsetof(struct thread_struct, dbcr0));
|
||||
DEFINE(PT_PTRACED, PT_PTRACED);
|
||||
#endif
|
||||
#ifdef CONFIG_SPE
|
||||
DEFINE(THREAD_EVR0, offsetof(struct thread_struct, evr[0]));
|
||||
|
|
Loading…
Reference in a new issue