[PATCH] powermac: proper sleep management
Paul Mackerras
paulus at samba.org
Tue Dec 4 16:48:01 EST 2007
Johannes Berg writes:
> + printk(KERN_INFO
> + "via-pmu: the PMU_IOC_SLEEP ioctl is deprecated.\n");
> + printk(KERN_INFO "via-pmu: use \"echo mem >"
> + " /sys/power/state\" instead!\n");
> + printk(KERN_INFO
> + "via-pmu: this ioctl will be removed soon.\n");
I don't like this. I would rather keep the ioctls indefinitely and
not make any noise about programs using them. The ioctls are part of
the kernel/user ABI, and thus need to be preserved, especially since
it only takes about 6 or 7 lines of code to implement them.
Paul.
More information about the Linuxppc-dev
mailing list