Re: OpPoint summary
From: Pavel Machek <hidden>
Date: 2006-09-17 12:56:53
Also in:
lkml
Hi!
I've incorporated Pavels suggestions and only put suspend states in the /sys/power/state file. The control file for frequency and
Ok...
voltage operating point transitions is now in /sys/power/operating_points/current_point.
How do you handle SMP? If I want full speed on CPU0 and 100MHz on cpu 1?
quoted hunk ↗ jump to hunk
--- linux-2.6.17.orig/kernel/power/main.c +++ linux-2.6.17/kernel/power/main.c@@ -16,6 +16,7 @@#include <linux/init.h> #include <linux/pm.h> #include <linux/console.h> +#include <linux/module.h> #include "power.h"@@ -49,7 +50,7 @@ void pm_set_ops(struct pm_ops * ops) * the platform can enter the requested state. */ -static int suspend_prepare(suspend_state_t state) +static int suspend_prepare(struct oppoint * state)
...so why this change? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html