CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2013/09/13 01:29:03
Modified files:
sys/arch/macppc/macppc: autoconf.c clock.c cpu.c
sys/arch/macppc/include: cpu.h
Log message:
Initialize the variable guarding the clock interrupt routine after
calling initclocks(). This prevents hardclock() from trying to
schedule a softclock interrupt before its cookie has been allocated,
leading to a panic.
While here grab the ticks/second value from the OpenFirmware at the
same time we read the clock frequency, no need to look twice for the
same node.
Looks ok to kettenis@