]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: use something common for both architectures.
authorGlauber Costa <gcosta@redhat.com>
Sat, 14 Jun 2008 00:01:46 +0000 (21:01 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 07:14:17 +0000 (09:14 +0200)
commitbe9d06bfd48934fbd56ccb7476eabccfa31b4afe
tree9c27b37dcb03c2e75996d2f0084eff2541d43c26
parent1dc186e82c1ab476ef83080adca43a70969b01cd
x86: use something common for both architectures.

Using explicit hexa (0xFFFFFFUL) introduces an unnecessary difference
between i386 and x86_64 because of the size of their long. Use -1UL instead.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/uaccess_32.h
include/asm-x86/uaccess_64.h