diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-01-18 08:08:43 -0800 |
|---|---|---|
| committer | David S. Miller <davem@kernel.bkbits.net> | 2003-01-18 08:08:43 -0800 |
| commit | 9247ef295a62f761d6ade312efc5db3de17d1d8f (patch) | |
| tree | 7aa0d5a21a6b5678aede88238f9291d33a5f3544 /include | |
| parent | cd1d18cf2f1efd7ac45c1cae09ed01ba780c8e29 (diff) | |
[SPARC64]: Handle unchanging _TIF_32BIT properly in SET_PERSONALITY.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-sparc64/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/elf.h b/include/asm-sparc64/elf.h index 4ca2b010eac3..458f56b0095a 100644 --- a/include/asm-sparc64/elf.h +++ b/include/asm-sparc64/elf.h @@ -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); \ |
