From d77b4ab70184a13de706192c9b467e80bd444e8b Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Mon, 9 Jul 2007 16:25:32 +0000 Subject: [PATCH] Fix Sparc64 insw and outsw git-svn-id: svn://coreboot.org/openbios/openbios-devel@161 f158a5a8-5612-0410-a976-696ce0be7e32 --- include/sparc64/io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sparc64/io.h b/include/sparc64/io.h index b368e0f..fc3fd89 100644 --- a/include/sparc64/io.h +++ b/include/sparc64/io.h @@ -43,8 +43,8 @@ pa2va(unsigned long pa) * are arrays of bytes, and byte-swapping is not appropriate in * that case. - paulus */ -#define insw(port, buf, ns) _insw_ns((uint16_t *)((port)+_IO_BASE), (buf), (ns)) -#define outsw(port, buf, ns) _outsw_ns((uint16_t *)((port)+_IO_BASE), (buf), (ns)) +#define insw(port, buf, ns) _insw((uint16_t *)((port)+_IO_BASE), (buf), (ns)) +#define outsw(port, buf, ns) _outsw((uint16_t *)((port)+_IO_BASE), (buf), (ns)) #define inb(port) in_8((uint8_t *)((port)+_IO_BASE)) #define outb(val, port) out_8((uint8_t *)((port)+_IO_BASE), (val))