OpenCloudOS-Kernel/drivers/clocksource
Bjorn Helgaas 0a57b78301 clocksource, acpi_pm.c: put acpi_pm_read_slow() under CONFIG_PCI
acpi_pm_read_slow() is only used when CONFIG_PCI=y, so move the definition
inside the ifdef.

Otherwise this causes a "defined but not used" warning when building with
CONFIG_ACPI=y and CONFIG_PCI=n (that's not supported yet, but it could
be).

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: mingo@elte.hu
Cc: johnstul@us.ibm.com
Cc: akpm@linux-foundation.org
Cc: bjorn.helgaas@hp.com
Cc: lenb@kernel.org
Cc: linux@dominikbrodowski.net
Cc: tglx@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2008-12-12 15:05:28 +01:00
..
Makefile atmel_tc clocksource/clockevent code 2008-03-04 13:42:24 +01:00
acpi_pm.c clocksource, acpi_pm.c: put acpi_pm_read_slow() under CONFIG_PCI 2008-12-12 15:05:28 +01:00
cyclone.c [PATCH] clocksource init adjustments (fix bug #7426) 2007-03-05 07:57:53 -08:00
scx200_hrt.c [PATCH] clocksource: replace is_continuous by a flag field 2007-02-16 08:13:57 -08:00
tcb_clksrc.c tclib: Fix compile warnings 2008-03-13 22:53:29 +01:00