linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / frv / kernel / switch_to.S
index b5275fa..1703dc2 100644 (file)
@@ -11,7 +11,7 @@
 # 2 of the License, or (at your option) any later version.
 #
 ###############################################################################
-
+#include <linux/config.h>
 #include <linux/linkage.h>
 #include <asm/thread_info.h>
 #include <asm/processor.h>
@@ -31,7 +31,7 @@
        # address of frame 0 (userspace) on current kernel stack
        .globl          __kernel_frame0_ptr
 __kernel_frame0_ptr:
-       .long           init_thread_union + THREAD_SIZE - FRV_FRAME0_SIZE
+       .long           init_thread_union + THREAD_SIZE - USER_CONTEXT_SIZE
 
        # address of current task
        .globl          __kernel_current_task