1. 12 May, 2011 2 commits
  2. 21 Apr, 2011 2 commits
    • Sam Ravnborg's avatar
      sparc32: fix sparcstation 5 boot · f486b3dc
      Sam Ravnborg authored
      The sparcstation 5 I have available has no MID property for the CPU.
      This resulted in a panic when booting a SMP kernel on this box.
      
      The assigned field in cpu_data is never used, so if we fail
      to read the MID property then inform user and continue booting.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f486b3dc
    • Sam Ravnborg's avatar
      sparc32: fix section mismatch warnings in apc, pmc and time_32 · 505d9147
      Sam Ravnborg authored
      In all cases there were a struct of_device_id variable defined __initdata.
      But it was referenced from struct platform_driver.of_match_table
      which is not guaranteed to be used during init only.
      
      So drop the __initdata annotation.
      
      This fixes following warnings:
      
      WARNING: arch/sparc/kernel/built-in.o(.data+0x810): Section mismatch in reference from the variable clock_driver to the variable .init.data:clock_match
      The variable clock_driver references
      the variable __initdata clock_match
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      
      WARNING: arch/sparc/kernel/built-in.o(.data+0xcec): Section mismatch in reference from the variable apc_driver to the variable .init.data:apc_match
      The variable apc_driver references
      the variable __initdata apc_match
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      
      WARNING: arch/sparc/kernel/built-in.o(.data+0xd60): Section mismatch in reference from the variable pmc_driver to the variable .init.data:pmc_match
      The variable pmc_driver references
      the variable __initdata pmc_match
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      505d9147
  3. 20 Apr, 2011 1 commit
  4. 19 Apr, 2011 20 commits
  5. 18 Apr, 2011 15 commits