aboutsummaryrefslogtreecommitdiff
path: root/arch/frv/include/asm/thread_info.h
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2011-03-29 14:05:12 +0100
committerDavid Howells <dhowells@redhat.com>2011-03-29 14:05:12 +0100
commit5ca7202bc4db3e2fd5653c52a608601c7a64a2ac (patch)
treed252f9bbb5d026912ff7a6591b7815334da9990c /arch/frv/include/asm/thread_info.h
parent5ef9bdde9cd8e7f9d43a975b47f520ca64cbd0a1 (diff)
FRV: Do some cleanups
1. frv doesn't support SMP, remove the useless SMP bits. 2. frv has its own alloc_task_struct, so define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR (I am not sure if frv should use generic alloc_task_struct().) Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/frv/include/asm/thread_info.h')
-rw-r--r--arch/frv/include/asm/thread_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/frv/include/asm/thread_info.h b/arch/frv/include/asm/thread_info.h
index 08179f310f2..cefbe73dc11 100644
--- a/arch/frv/include/asm/thread_info.h
+++ b/arch/frv/include/asm/thread_info.h
@@ -21,6 +21,8 @@
#define THREAD_SIZE 8192
+#define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR
+
/*
* low level task data that entry.S needs immediate access to
* - this struct should fit entirely inside of one cache line