x86: use symbolic name for VM86_SIGNAL when used as vm86 default return
authorSamuel Bronson <naesten@gmail.com>
Thu, 7 May 2009 02:27:55 +0000 (22:27 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 7 May 2009 03:35:26 +0000 (20:35 -0700)
commit975e5f45500dff6d15c0001bb662e9aac0ce0076
treeed9dfb7683b5f652ac6075bda22aeb42dee34de2
parentbf293c17b26b8854241df08b9b63f7270cbde012
x86: use symbolic name for VM86_SIGNAL when used as vm86 default return

This code has apparently used "0" and not VM86_SIGNAL since Linux
1.1.9, when Linus added VM86_SIGNAL to vm86.h. This patch changes the
code to use the symbolic name.

The magic 0 tripped me up in trying to extend the vm86(2) manpage to
actually explain vm86()'s interface -- my greps for VM86_SIGNAL came up
fruitless.

[ Impact: cleanup; no object code change ]

Signed-off-by: Samuel Bronson <naesten@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/vm86_32.c