Messages in this thread Patch in this message | | | Date | Mon, 16 Nov 2009 15:32:37 -0800 | From | Randy Dunlap <> | Subject | [PATCH -next] acpi: get_bios_limit static inline when CPU_FREQ=n |
| |
From: Randy Dunlap <randy.dunlap@oracle.com>
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@oracle.com> --- 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; }
| |