summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/processor.h
diff options
context:
space:
mode:
authorAl Viro2005-11-14 01:06:58 +0100
committerLinus Torvalds2005-11-14 03:14:14 +0100
commitabd03753bd1532c05eb13231569a5257b007e29c (patch)
tree339e8c12169a2d04ba209f0bc8902859e6596bbf /include/asm-m68k/processor.h
parent[PATCH] m68k: thread_info header cleanup (diff)
downloadkernel-qcow2-linux-abd03753bd1532c05eb13231569a5257b007e29c.tar.gz
kernel-qcow2-linux-abd03753bd1532c05eb13231569a5257b007e29c.tar.xz
kernel-qcow2-linux-abd03753bd1532c05eb13231569a5257b007e29c.zip
[PATCH] m68k: m68k-specific thread_info changes
a) added embedded thread_info [m68k processor.h] b) added missing symbols in asm-offsets.c c) task_thread_info() and friends in asm-m68k/thread_info.h d) made m68k thread_info.h included by m68k processor.h, not the other way round. Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m68k/processor.h')
-rw-r--r--include/asm-m68k/processor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-m68k/processor.h b/include/asm-m68k/processor.h
index df1575db32af..84b4b26df04c 100644
--- a/include/asm-m68k/processor.h
+++ b/include/asm-m68k/processor.h
@@ -14,6 +14,7 @@
#define current_text_addr() ({ __label__ _l; _l: &&_l;})
#include <linux/config.h>
+#include <linux/thread_info.h>
#include <asm/segment.h>
#include <asm/fpu.h>
#include <asm/ptrace.h>
@@ -79,6 +80,7 @@ struct thread_struct {
unsigned long fpcntl[3]; /* fp control regs */
unsigned char fpstate[FPSTATESIZE]; /* floating point state */
struct task_work work;
+ struct thread_info info;
};
#define INIT_THREAD { \