removed invalid use of _INTC_ARRAY
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 11 Nov 2007 17:51:40 +0000 (17:51 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 11 Nov 2007 17:51:40 +0000 (17:51 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3602 c046a42c-6fe2-441c-8c8c-71466251a162

hw/sh7750.c

index 4b2b515..1e2d917 100644 (file)
@@ -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;