diff options
Diffstat (limited to 'emulators/qemu/patches/patch-ioport.c')
-rw-r--r-- | emulators/qemu/patches/patch-ioport.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/emulators/qemu/patches/patch-ioport.c b/emulators/qemu/patches/patch-ioport.c index c1743a967e1..0277fb879d6 100644 --- a/emulators/qemu/patches/patch-ioport.c +++ b/emulators/qemu/patches/patch-ioport.c @@ -1,4 +1,4 @@ -$NetBSD: patch-ioport.c,v 1.1 2011/07/11 09:57:18 ryoon Exp $ +$NetBSD: patch-ioport.c,v 1.2 2011/08/04 12:20:54 ryoon Exp $ --- ioport.c.orig 2011-05-06 19:01:44.000000000 +0000 +++ ioport.c @@ -7,7 +7,7 @@ $NetBSD: patch-ioport.c,v 1.1 2011/07/11 09:57:18 ryoon Exp $ uint64_t data; - ioport->ops->read(ioport, addr - ioport->base, 1, &data); -+ (ioport->ops->read)(ioport, addr - ioport->base, 1, &data); ++ (*ioport->ops->read)(ioport, addr - ioport->base, 1, &data); return data; } @@ -16,7 +16,7 @@ $NetBSD: patch-ioport.c,v 1.1 2011/07/11 09:57:18 ryoon Exp $ uint64_t data; - ioport->ops->read(ioport, addr - ioport->base, 2, &data); -+ (ioport->ops->read)(ioport, addr - ioport->base, 2, &data); ++ (*ioport->ops->read)(ioport, addr - ioport->base, 2, &data); return data; } @@ -25,7 +25,7 @@ $NetBSD: patch-ioport.c,v 1.1 2011/07/11 09:57:18 ryoon Exp $ uint64_t data; - ioport->ops->read(ioport, addr - ioport->base, 4, &data); -+ (ioport->ops->read)(ioport, addr - ioport->base, 4, &data); ++ (*ioport->ops->read)(ioport, addr - ioport->base, 4, &data); return data; } |