From: Avi K. <av...@qu...> - 2008-01-09 08:51:18
|
Hollis Blanchard wrote: > + > +static int misc_init(void) > +{ > + int err; > + > + err = io_table_register(&pio_table, 0xff, 1, misc_io, NULL); > + if (err < 0) > + return err; > + > + err = io_table_register(&pio_table, 0xf1, 1, misc_io, NULL); > + if (err < 0) > + return err; > + > + err = io_table_register(&pio_table, 0xf4, 1, misc_io, NULL); > + if (err < 0) > + return err; > + > + return io_table_register(&pio_table, 0xd1, 1, misc_io, NULL); > +} > I thought ppc doesn't have pio (and certainly doesn't need the random hacks above)? While it's okay to not share code with x86 for the test harness, at least remove the x86 specific parts. -- error compiling committee.c: too many arguments to function |