Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27af4cfd authored by Robin Holt's avatar Robin Holt Committed by Tony Luck
Browse files

[IA64] fix for SET_PERSONALITY when CONFIG_IA32_SUPPORT is not set.



Missed this when fixing the SET_PERSONALITY change.

Signed-off-by: default avatarRobin Holt <holt@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent acd9b7b4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
}

/*