From: bellard Date: Sun, 11 Nov 2007 17:51:40 +0000 (+0000) Subject: removed invalid use of _INTC_ARRAY X-Git-Tag: xen-3.3.0-rc1~757 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f26ae302648d2977ba36d3dfcd0b70dce4e51060;p=qemu-xen-3.3-testing.git removed invalid use of _INTC_ARRAY git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3602 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/sh7750.c b/hw/sh7750.c index 4b2b515b..1e2d9171 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;