Re: drivers/acpi/ac.c, re-enabling CONFIG_ACPI_PROCFS_POWER?

2014-06-19 Thread Sorin Manolache
On 2014-06-19 09:47, Lan Tianyu wrote: On 2014年06月19日 14:32, Lan Tianyu wrote: On 2014年06月19日 07:17, Rafael J. Wysocki wrote: On Wednesday, June 18, 2014 10:28:12 PM Sorin Manolache wrote: Hello, Would it be worth considering re-enabling the old procfs interface for ac.c? There are old tools

drivers/acpi/ac.c, re-enabling CONFIG_ACPI_PROCFS_POWER?

2014-06-18 Thread Sorin Manolache
Hello, Would it be worth considering re-enabling the old procfs interface for ac.c? There are old tools still around (kpowersave from kde 3.5.10) that expect /proc/acpi/ac_adapter. Thank you, Sorin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

newbie questions about while (1) in kernel mode and spinlocks

2006-12-21 Thread Sorin Manolache
Dear list, I am in the process of learning how to write linux device drivers. I have a 2.6.16.5 kernel running on a monoprocessor machine. #CONFIG_SMP is not set CONFIG_DEBUG_SPINLOCK=y. CONFIG_PREEMPT=y CONFIG_PREEMPT_BKL=y First question: I wrote while (1) ; in the read function of a te