SFI patches for 2.6.31-rc1
Hi Linus,
please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-sfi-2.6.git sfi-release
This will update the files shown below.
thanks!
--
Len Brown
Intel Open Source Technology Center
ps. individual patches are available on [email protected] and a consolidated plain patch is available here:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/sfi/patches/2.6.32/acpi-sfi-release-20090903-2.6.32-rc2.diff.gz
drivers/sfi/sfi_core.c | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-)
through these commits:
Arjan van de Ven (1):
SFI: remove __init from sfi_verify_table
Rakib Mullick (1):
SFI: fix section mismatch warnings in sfi_core.c
with this log:
commit 011a606d0670196c17110b6770e39cc0865aa614
Author: Arjan van de Ven <[email protected]> Date: Fri Oct 2 07:29:47 2009 -0700
SFI: remove __init from sfi_verify_table
sfi_verify_table() is called at runtime, and thus cannot be __init
commit 01674da6f587a3f3940eedf2c1e97d51c35b994e
Author: Rakib Mullick <[email protected]> Date: Wed Sep 30 16:09:55 2009 -0700
SFI: fix section mismatch warnings in sfi_core.c
The function sfi_map_memory/sfi_unmap_memory uses early_ioremap/early_iounmap respectively, which refers to a __init function. And function sfi_check_table also refers to a __init function sfi_verify_table. Since the references are valid, so use __ref to get rid of the warnings.
We were warned by the following warnings:
LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0xb6ba3a): Section mismatch in reference from the function sfi_map_memory() to the function .init.text:early_ioremap()
The function sfi_map_memory() references
the function __init early_ioremap().
This is often because sfi_map_memory lacks a __init annotation or the annotation of early_ioremap is wrong.
WARNING: vmlinux.o(.text+0xb6bab6): Section mismatch in reference from the function sfi_unmap_memory() to the function .init.text:early_iounmap()
The function sfi_unmap_memory() references
the function __init early_iounmap().
This is often because sfi_unmap_memory lacks a __init annotation or the annotation of early_iounmap is wrong.
WARNING: vmlinux.o(.text+0xb6be30): Section mismatch in reference from the function sfi_check_table() to the function .init.text:sfi_verify_table()
The function sfi_check_table() references
the function __init sfi_verify_table().
This is often because sfi_check_table lacks a __init annotation or the annotation of sfi_verify_table is wrong.