]> err.no Git - linux-2.6/commit
[MIPS] Workaround for a sparse warning in include/asm-mips/io.h
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 11 Jul 2007 14:12:00 +0000 (23:12 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 12 Jul 2007 16:41:10 +0000 (17:41 +0100)
commitc0cf500145b4154adcbc55afc1a63db24cee84a2
treeab5ca7ffff7c809c8d8cf35e587de0bfabaa7162
parent9815778ae016004c33ce267a00b7d567192ef6e7
[MIPS] Workaround for a sparse warning in include/asm-mips/io.h

CKSEG1ADDR() returns unsigned int value on 32bit kernel.  Cast it to
unsigned long to get rid of this warning:

include2/asm/io.h:215:12: warning: cast adds address space to expression (<asn:2>)

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/io.h