]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] fix for SET_PERSONALITY when CONFIG_IA32_SUPPORT is not set.
authorRobin Holt <holt@sgi.com>
Wed, 14 Dec 2005 12:58:05 +0000 (06:58 -0600)
committerTony Luck <tony.luck@intel.com>
Wed, 14 Dec 2005 16:52:57 +0000 (08:52 -0800)
Missed this when fixing the SET_PERSONALITY change.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/process.c

index a4da715a360ca74c01b0a3c55f39ef43179c3fc3..e9904c74d2ba617679131802ce1f68858e3b2826 100644 (file)
@@ -721,11 +721,13 @@ flush_thread (void)
        /* drop floating-point and debug-register state if it exists: */
        current->thread.flags &= ~(IA64_THREAD_FPH_VALID | IA64_THREAD_DBG_VALID);
        ia64_drop_fpu(current);
+#ifdef CONFIG_IA32_SUPPORT
        if (IS_IA32_PROCESS(ia64_task_regs(current))) {
                ia32_drop_partial_page_list(current);
                current->thread.task_size = IA32_PAGE_OFFSET;
                set_fs(USER_DS);
        }
+#endif
 }
 
 /*