summaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/thread_info.h
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2011-03-29 15:05:12 +0200
committerDavid Howells <dhowells@redhat.com>2011-03-29 15:05:12 +0200
commit5ca7202bc4db3e2fd5653c52a608601c7a64a2ac (patch)
treed252f9bbb5d026912ff7a6591b7815334da9990c /arch/frv/include/asm/thread_info.h
parentFRV: Missing node arg in alloc_thread_info_node() macro (diff)
downloadlinux-5ca7202bc4db3e2fd5653c52a608601c7a64a2ac.tar.xz
linux-5ca7202bc4db3e2fd5653c52a608601c7a64a2ac.zip
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 08179f310f20..cefbe73dc119 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