[LinuxPPS] Alpha: Rearrange thread info flags fixing two regressions
gitweb.enneenne.com Git - linuxpps/rss log: Michael Cree <>
webmaster at enneenne.com
Wed Dec 2 18:15:53 CET 2009
Alpha: Rearrange thread info flags fixing two regressions
The removal of the TIF_NOTIFY_RESUME flag, commit a583f1b54249b
"remove unused TIF_NOTIFY_RESUME flag," resulted in incorrect
setting of the unaligned access control flags by the prctl syscall.
The re-addition of the TIF_NOTIFY_RESUME flag, commit d0420c83f39f
"KEYS: Extend TIF_NOTIFY_RESUME to (almost) all architectures [try #6]"
further caused problems, namely incorrect operands to assembler code
as evidenced by:
AS arch/alpha/kernel/entry.o
arch/alpha/kernel/entry.S: Assembler messages:
arch/alpha/kernel/entry.S:326: Warning: operand out of range
(0x0000000000000406 is not between 0x0000000000000000 and
0x00000000000000ff)
Both regressions fixed by (1) rearranging TIF_NOTIFY_RESUME flag to be
in lower 8 bits of the thread info flags, and (2) making sure that
ALPHA_UAC_SHIFT matches the rearrangement of the thread info flags.
Signed-off-by: Michael Cree <mcree at orcon.net.nz>
Cc: Richard Henderson <rth at twiddle.net>
Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
Cc: David Howells <dhowells at redhat.com>,
Signed-off-by: Matt Turner <mattst88 at gmail.com>
* [[D][1][H][2]] arch/alpha/include/asm/thread_info.h
[1]: http://gitweb.enneenne.com/?p=linuxpps;a=blobdiff;f=arch/alpha/include/asm/thread_info.h;fp=arch/alpha/include/asm/thread_info.h;h=b3e888638bb7c819547cba13e5ec48724d596cd1;hp=815680b585ed2d15e766384b1401dd67f5e138d9;hb=745dd2405e281d96c0a449103bdf6a895048f28c;hpb=cc9a2c8301683f73b7e0d1fc2cb5159110f3469f (diff)
[2]: http://gitweb.enneenne.com/?p=linuxpps;a=history;f=arch/alpha/include/asm/thread_info.h;h=745dd2405e281d96c0a449103bdf6a895048f28c (history)
URL: http://gitweb.enneenne.com/?p=linuxpps;a=commitdiff;h=745dd2405e281d96c0a449103bdf6a895048f28c
More information about the LinuxPPS
mailing list