Commit f26ae302648d2977ba36d3dfcd0b70dce4e51060

Authored by bellard
1 parent 0ba22212

removed invalid use of _INTC_ARRAY


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3602 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
hw/sh7750.c
... ... @@ -573,7 +573,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu)
573 573 if (cpu_model & (SH_CPU_SH7750R | SH_CPU_SH7751 | SH_CPU_SH7751R)) {
574 574 sh_intc_register_sources(&s->intc,
575 575 _INTC_ARRAY(vectors_tmu34),
576   - _INTC_ARRAY(NULL));
  576 + NULL, 0);
577 577 tmu012_init(0x1e100000, 0, s->periph_freq);
578 578 }
579 579  
... ... @@ -586,7 +586,7 @@ SH7750State *sh7750_init(CPUSH4State * cpu)
586 586 if (cpu_model & (SH_CPU_SH7750S | SH_CPU_SH7750R | SH_CPU_SH7751_ALL)) {
587 587 sh_intc_register_sources(&s->intc,
588 588 _INTC_ARRAY(vectors_irlm),
589   - _INTC_ARRAY(NULL));
  589 + NULL, 0);
590 590 }
591 591  
592 592 return s;
... ...