[IA64] fix section mismatch in arch/ia64/kernel/acpi.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, May 2, 2008 - 9:59 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c5b5a5...
Commit:     c5b5a5993234d4db2079e57e456bda5278ef59cf
Parent:     08acd4f8af42affd8cbed81cc1b69fa12ddb213f
Author:     Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
AuthorDate: Wed Apr 30 16:51:06 2008 +0900
Committer:  Tony Luck <tony.luck@intel.com>
CommitDate: Wed Apr 30 14:07:57 2008 -0700

    [IA64] fix section mismatch in arch/ia64/kernel/acpi.c
    
    This patch kills:
    
    	WARNING: vmlinux.o(.text+0x1702): Section mismatch in
    	reference from the function acpi_register_ioapic() to the
    	function .devinit.text:iosapic_init()
    
    Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
    Signed-off-by: Tony Luck <tony.luck@intel.com>
---
 arch/ia64/kernel/acpi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index c7467f8..19709a0 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -966,7 +966,7 @@ acpi_map_iosapics (void)
 fs_initcall(acpi_map_iosapics);
 #endif				/* CONFIG_ACPI_NUMA */
 
-int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base)
+int __ref acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base)
 {
 	int err;
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[IA64] fix section mismatch in arch/ia64/kernel/acpi.c, Linux Kernel Mailing ..., (Fri May 2, 9:59 am)