summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-09-02 14:20:06 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-12-24 21:47:56 +1000
commit8d362b0dea1a35bea8d7d281317eb7ccb713edcb (patch)
tree83f410762fc5a61bb876686d19dabe4098e62386 /arch/m68k/kernel/asm-offsets.c
parent409ee2455c95495e182379883a568df1d40f5864 (diff)
downloadlinux-stable-8d362b0dea1a35bea8d7d281317eb7ccb713edcb.tar.gz
linux-stable-8d362b0dea1a35bea8d7d281317eb7ccb713edcb.tar.bz2
linux-stable-8d362b0dea1a35bea8d7d281317eb7ccb713edcb.zip
m68k: remove duplicate asm offset for task thread.info
We have a duplicate name and definition for the offset of the thread.info struct within the task struct in our asm-offsets.c code. Remove one of them, and consolidate to use a single define, TASK_INFO. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/asm-offsets.c')
-rw-r--r--arch/m68k/kernel/asm-offsets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m68k/kernel/asm-offsets.c b/arch/m68k/kernel/asm-offsets.c
index 983fed9d469b..f6a54e203e8e 100644
--- a/arch/m68k/kernel/asm-offsets.c
+++ b/arch/m68k/kernel/asm-offsets.c
@@ -25,7 +25,6 @@ int main(void)
DEFINE(TASK_THREAD, offsetof(struct task_struct, thread));
DEFINE(TASK_MM, offsetof(struct task_struct, mm));
DEFINE(TASK_INFO, offsetof(struct task_struct, thread.info));
- DEFINE(TASK_TINFO, offsetof(struct task_struct, thread.info));
/* offsets into the thread struct */
DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp));