[PATCH -next] acpi: get_bios_limit static inline when CPU_FREQ=n

From: Randy Dunlap
Date: Mon Nov 16 2009 - 18:35:10 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

For CONFIG_CPU_FREQ=n, make acpi_processor_get_bios_limit()
static inline so that multiple source files that use this
header file do not create multiple definitions of the function.

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
include/acpi/processor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20091113.orig/include/acpi/processor.h
+++ linux-next-20091113/include/acpi/processor.h
@@ -318,7 +318,7 @@ static inline int acpi_processor_ppc_has
}
return 0;
}
-int acpi_processor_get_bios_limit(int cpu, unsigned int *limit)
+static inline int acpi_processor_get_bios_limit(int cpu, unsigned int *limit)
{
return -ENODEV;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/