1. 03 10月, 2009 2 次提交
    • A
      SFI: remove __init from sfi_verify_table · 011a606d
      Arjan van de Ven 提交于
      sfi_verify_table() is called at runtime, and thus cannot be __init
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      011a606d
    • R
      SFI: fix section mismatch warnings in sfi_core.c · 01674da6
      Rakib Mullick 提交于
      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.
      Signed-off-by: NRakib Mullick <rakib.mullick@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      01674da6
  2. 16 9月, 2009 1 次提交
  3. 29 8月, 2009 3 次提交
反馈
建议
客服 返回
顶部