um, x86: Cast to (u64 *) inside set_64bit()
authorH. Peter Anvin <hpa@zytor.com>
Tue, 3 Aug 2010 14:00:16 +0000 (07:00 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 3 Aug 2010 14:00:16 +0000 (07:00 -0700)
commitbf676945cb5bfe455321f57968967c18976f4995
tree3ce6ca20f8fee983658da939cc4bfe1001e324a6
parent72c511dd596cff88d6523f231a0fbb8f73006d51
um, x86: Cast to (u64 *) inside set_64bit()

After tightening up the types passed to set_64bit(), the cast to
(phys_t *) triggers a warning apparently because phys_t is defined as
"unsigned long" when building on 64 bits; however, u64 is defined as
"unsigned long long".  This is, however, a explicit cast inside a
size-specific call, so just make the cast explicitly (u64 *).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Jeff Dike <jdike@addtoit.com>
LKML-Reference: <tip-69309a05907546fb686b251d4ab041c26afe1e1d@git.kernel.org>
arch/um/include/asm/pgtable-3level.h