01 Nov, 2011

1 commit

  • These files were implicitly getting EXPORT_SYMBOL via device.h
    which was including module.h, but that will be fixed up shortly.

    By fixing these now, we can avoid seeing things like:

    arch/x86/kernel/rtc.c:29: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
    arch/x86/kernel/pci-dma.c:20: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
    arch/x86/kernel/e820.c:69: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’

    [ with input from Randy Dunlap and also
    from Stephen Rothwell ]

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

18 Mar, 2011

1 commit


21 Mar, 2009

1 commit


19 Feb, 2008

1 commit


10 Feb, 2008

1 commit


02 Feb, 2008

1 commit

  • Avoid section mismatch involving arch_register_cpu.

    Marking arch_register_cpu as __init and removing the export
    for non-hotplug-cpu configurations makes the following warning
    go away:

    Section mismatch in reference from the function
    arch_register_cpu() to the function .devinit.text:register_cpu()
    The function arch_register_cpu() references
    the function __devinit register_cpu().
    This is often because arch_register_cpu lacks a __devinit
    annotation or the annotation of register_cpu is wrong.

    The only external user of arch_register_cpu in the tree is
    in drivers/acpi/processor_core.c where it is guarded by
    ACPI_HOTPLUG_CPU (which depends on HOTPLUG_CPU).

    Signed-off-by: Alexander van Heukelum
    CC: Sam Ravnborg
    Signed-off-by: Ingo Molnar

    Alexander van Heukelum
     

30 Jan, 2008

2 commits

  • Fix following warning:
    WARNING: arch/x86/kernel/built-in.o(__ksymtab+0x2b0): Section mismatch: reference to .cpuinit.text:arch_register_cpu in '__ksymtab_arch_register_cpu'

    Annotating exported symbols are wrong.
    Previously the warning were hidden by avoiding the export
    in the non HOTPLUG_CPU case but the improved checks in
    modpost caught it anyway.
    Fix it by removing the __cpuinit annotation and rearrange the
    code a bit to save one ifdef/endif pair.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Sam Ravnborg
     
  • Change the following static arrays sized by NR_CPUS to
    per_cpu data variables:

    i386_cpu cpu_devices[NR_CPUS];

    (And change the struct name to x86_cpu.)

    Signed-off-by: Mike Travis
    Reviewed-by: Christoph Lameter
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    travis@sgi.com
     

05 Dec, 2007

1 commit

  • fix this on i386 allnoconfig:

    WARNING: vmlinux.o(.text+0x6f2e): Section mismatch: reference to .init.text:register_cpu (between 'arch_register_cpu' and 'text_poke')

    Signed-off-by: Andrew Morton
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Andrew Morton
     

18 Oct, 2007

1 commit


14 Oct, 2007

1 commit

  • Since the x86 merge, lots of files that referenced their own filenames
    are no longer correct. Rather than keep them up to date, just delete
    them, as they add no real value.

    Additionally:
    - fix up comment formatting in scx200_32.c
    - Remove a credit from myself in setup_64.c from a time when we had no SCM
    - remove longwinded history from tsc_32.c which can be figured out from
    git.

    Signed-off-by: Dave Jones
    Signed-off-by: Linus Torvalds

    Dave Jones
     

11 Oct, 2007

1 commit