summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/thread_info.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-03-05 17:34:12 +0300
committerMichal Simek <monstr@monstr.eu>2010-04-01 10:38:19 +0400
commit40db0834337ef0cde586feeb5588e45f0349098b (patch)
treecd5b0fe32e2416bb5a39591a479f904427d436ff /arch/microblaze/include/asm/thread_info.h
parent4009819cf90c26e3ec7b0ed949d5ff37c568e197 (diff)
downloadlinux-40db0834337ef0cde586feeb5588e45f0349098b.tar.xz
microblaze: Remove segment.h
I would like to use asm-generic uaccess.h where are segment macros defined. This is just first step. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/thread_info.h')
-rw-r--r--arch/microblaze/include/asm/thread_info.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/thread_info.h b/arch/microblaze/include/asm/thread_info.h
index 6e92885d381a..b2ca80f64640 100644
--- a/arch/microblaze/include/asm/thread_info.h
+++ b/arch/microblaze/include/asm/thread_info.h
@@ -19,7 +19,6 @@
#ifndef __ASSEMBLY__
# include <linux/types.h>
# include <asm/processor.h>
-# include <asm/segment.h>
/*
* low level task data that entry.S needs immediate access to
@@ -60,6 +59,10 @@ struct cpu_context {
__u32 fsr;
};
+typedef struct {
+ unsigned long seg;
+} mm_segment_t;
+
struct thread_info {
struct task_struct *task; /* main task structure */
struct exec_domain *exec_domain; /* execution domain */