From f26ae302648d2977ba36d3dfcd0b70dce4e51060 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 11 Nov 2007 17:51:40 +0000 Subject: [PATCH] removed invalid use of _INTC_ARRAY git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3602 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/sh7750.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/sh7750.c b/hw/sh7750.c index 4b2b515b7a..1e2d917193 100644 --- a/hw/sh7750.c +++ b/hw/sh7750.c @@ -573,7 +573,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu) if (cpu_model & (SH_CPU_SH7750R | SH_CPU_SH7751 | SH_CPU_SH7751R)) { sh_intc_register_sources(&s->intc, _INTC_ARRAY(vectors_tmu34), - _INTC_ARRAY(NULL)); + NULL, 0); tmu012_init(0x1e100000, 0, s->periph_freq); } @@ -586,7 +586,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu) if (cpu_model & (SH_CPU_SH7750S | SH_CPU_SH7750R | SH_CPU_SH7751_ALL)) { sh_intc_register_sources(&s->intc, _INTC_ARRAY(vectors_irlm), - _INTC_ARRAY(NULL)); + NULL, 0); } return s; -- 2.11.0