Commit 9247ef29 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[SPARC64]: Handle unchanging _TIF_32BIT properly in SET_PERSONALITY.

parent cd1d18cf
......@@ -111,6 +111,8 @@ do { unsigned long new_flags = current_thread_info()->flags; \
if ((current_thread_info()->flags & _TIF_32BIT) \
!= new_flags) \
set_thread_flag(TIF_ABI_PENDING); \
else \
clear_thread_flag(TIF_ABI_PENDING); \
/* flush_thread will update pgd cache */ \
if (ibcs2) \
set_personality(PER_SVR4); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment