android_kernel_google_msm/arch/cris
Corey Minyard 850fcad117 CRIS: fix I/O macros
commit c24bf9b4cc upstream.

The inb/outb macros for CRIS are broken from a number of points of view,
missing () around parameters and they have an unprotected if statement
in them.  This was breaking the compile of IPMI on CRIS and thus I was
being annoyed by build regressions, so I fixed them.

Plus I don't think they would have worked at all, since the data values
were missing "&" and the outsl had a "3" instead of a "4" for the size.
From what I can tell, this stuff is not used at all, so this can't be
any more broken than it was before, anyway.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <starvik@axis.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-11 09:07:17 -08:00
..
arch-v10 Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
arch-v32 Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
boot
configs
include CRIS: fix I/O macros 2013-01-11 09:07:17 -08:00
kernel cris: Add missing RCU idle APIs on idle loop 2012-10-13 05:38:54 +09:00
mm Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
Kconfig
Kconfig.debug
Makefile