[PATCH] fix is_at_popf() for compat tasks
authorChuck Ebbert <76306.1226@compuserve.com>
Tue, 26 Sep 2006 08:52:32 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:32 +0000 (10:52 +0200)
commita752d7194c4fb5a3e767c95542d04fc5decb1d52
treeb63d56f85c10f5f26c67dc3e8cf4ac6366f4824b
parent8578bdf835d6d6ece6718858d351456367b8a5cf
[PATCH] fix is_at_popf() for compat tasks

When testing for the REX instruction prefix, first check
for 32-bit mode because in compat mode the REX prefix is an
increment instruction.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/ptrace.c