Jochen Friedrich wrote: > +void watchdog_poke(void) > +{ > + if (wdt) { > + out_be16(&wdt->swsrr, 0x556c); > + out_be16(&wdt->swsrr, 0xaa39); > + } > +}
This should be a function pointer, to allow for other watchdog types. -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev