[IA64] acpi_get_sysname() should be __init
authorTony Luck <tony.luck@intel.com>
Thu, 24 May 2007 17:59:44 +0000 (10:59 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 24 May 2007 17:59:44 +0000 (10:59 -0700)
commitd57c4a38928ab2f71542046a9bae2932006b2523
treec2e05ae5ad9b4dbd14294d039ed5a0a6f5eddc80
parent35729449655abcceeb3c72181e9920cf98f81c1e
[IA64] acpi_get_sysname() should be __init

Section mismatch: reference to .init.text:acpi_find_rsdp
 (between 'acpi_get_sysname' and 'acpi_request_vector')

acpi_get_sysname() needs to call the __init function acpi_find_rsdp, but it
doesn't have the __init attribute itself, hence the warning. Luckily it is
only called from machvec_init() which has __init attribute, so the fix
is to define acpi_get_sysname() as __init too.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/acpi.c