From: Robin Holt Date: Wed, 14 Dec 2005 12:58:05 +0000 (-0600) Subject: [IA64] fix for SET_PERSONALITY when CONFIG_IA32_SUPPORT is not set. X-Git-Tag: v2.6.15-rc6~65 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=27af4cfd11883073359bd5acab1962b0fa96a3bf;p=linux-2.6-omap-h63xx.git [IA64] fix for SET_PERSONALITY when CONFIG_IA32_SUPPORT is not set. Missed this when fixing the SET_PERSONALITY change. Signed-off-by: Robin Holt Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index a4da715a360..e9904c74d2b 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c @@ -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 } /*