Rename cpu_sleep() to mpc745x_sleep() to denote what it's actually
intended for. This function is very G4-specific, and will not work on any other
CPU. This will afterward eliminate a platform_smp_timebase_sync() call, by
directly updating the timebase instead.
Details
Details
- Reviewers
- None
- Group Reviewers
PowerPC
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 29587 Build 27448: arc lint + arc unit
Event Timeline
sys/powerpc/powermac/platform_powermac.c | ||
---|---|---|
420 | DEVMETHOD(cpufreq_drv_set, pmufreq_set) and: static int error = pmu_set_speed(speed_sel); . . . Is this sort of code reached by, say, powerd? powerpd is running on the G5 Quad I have access to. |
sys/powerpc/powermac/platform_powermac.c | ||
---|---|---|
420 | pmufreq only attaches to g4 machines that use the PMU for frequency control. Your g5 is unaffected. |