]> err.no Git - linux-2.6/commit
[CPUFREQ] implement !CONFIG_CPU_FREQ stub for cpufreq_unregister_notifier()
authorSatyam Sharma <satyam@infradead.org>
Tue, 2 Oct 2007 20:28:15 +0000 (13:28 -0700)
committerDave Jones <davej@redhat.com>
Thu, 4 Oct 2007 22:40:57 +0000 (18:40 -0400)
commit6070b5de50ab5e3f810628a9cbb04deecf30a85f
tree008d9a6df181b99a46bda05d0194c2dde0c88ded
parentdd184a01b8ece6bac2f7a63de99a4a4d29552746
[CPUFREQ] implement !CONFIG_CPU_FREQ stub for  cpufreq_unregister_notifier()

Callsites such as arch/powerpc/oprofile/op_model_cell.c are having to
open-code #ifdef CONFIG_CPU_FREQ only to be able to get at the full definition
of cpufreq_unregister_notifier(), because no empty stub is available for the
!CONFIG_CPU_FREQ case.  Let's provide one, to be able to remove such #ifdef's
from the rest of the kernel tree -- those will come in a subsequent patch.

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
include/linux/cpufreq.h