]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sparc-compat-provide-an-accurate-in_compat_syscall-implementation-fix-fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 9 Feb 2016 23:13:28 +0000 (10:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Feb 2016 23:13:28 +0000 (10:13 +1100)
update comment, per Andy

Cc: Andy Lutomirski <luto@kernel.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/include/asm/compat.h

index 3edb008d8e85f23b7cd5b505fd2d8f997883f764..6f251c4d613efdb9857d85e1c58b7cdbb15e46b5 100644 (file)
@@ -309,7 +309,7 @@ static inline int is_compat_task(void)
 
 static inline bool in_compat_syscall(void)
 {
-       /* Check if this is LINUX_32BIT_SYSCALL_TRAP */
+       /* Vector 0x110 is LINUX_32BIT_SYSCALL_TRAP */
        return pt_regs_trap_type(current_pt_regs()) == 0x110;
 }
 #define in_compat_syscall in_compat_syscall