[PATCH] uml: TT - SYSCALL_DEBUG - fix buglet introduced in cleanup
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Wed, 1 Feb 2006 11:06:27 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:22 +0000 (08:53 -0800)
commite5cf888631af95c8022d659d77fb595e0c3ac778
treee35d7093339e16d0ee0bb30888b59832c5ca42fb
parent3dfd95b378953f6cf0bd58fc990c05ef5a0ea1a6
[PATCH] uml: TT - SYSCALL_DEBUG - fix buglet introduced in cleanup

Fixes a bug introduced in commit e32dacb9f481fd6decb41adb28e720c923d34f54 -
index is initialized based on syscall before syscall is calculated.

I'm bothering with this mainly because it gives a correct warning when the
config option is enabled, even if the code is for a almost unused debugging
option.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/tt/syscall_kern.c