Commit 0d62f010 authored by Dave Hansen's avatar Dave Hansen Committed by Linus Torvalds

[PATCH] cast PAGE_OFFSET math to void* in early printk

__pa() should take a void*.  This adds the proper cast.
Signed-off-by: default avatarDave Hansen <haveblue@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 14be1ebc
......@@ -8,7 +8,7 @@
/* Simple VGA output */
#ifdef __i386__
#define VGABASE __pa(__PAGE_OFFSET + 0xb8000UL)
#define VGABASE __pa((void *)(__PAGE_OFFSET + 0xb8000UL))
#else
#define VGABASE 0xffffffff800b8000UL
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment