1. 26 Jul, 2010 11 commits
    • Ralf Baechle's avatar
      MIPS: N32: Define getdents64. · 31c984a5
      Ralf Baechle authored
      As a relativly new ABI N32 should only have received the getdents64(2) but
      instead it only had getdents(2).  This was noticed as a performance anomaly
      in glibc.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      31c984a5
    • Bruno Randolf's avatar
      MIPS: MTX-1: Fix PCI on the MeshCube and related boards · 98a0f86a
      Bruno Randolf authored
      This patch fixes a regression introduced by commit "MIPS: Alchemy: MTX-1:
      Use linux gpio api." (bb706b28) which broke
      PCI bus operation. The problem is caused by alchemy_gpio2_enable() which
      resets the GPIO2 block. Two PCI signals (PCI_SERR and PCI_RST) are connected
      to GPIO2 and they obviously do not to like the reset. Since GPIO2 is
      correctly initialized by the boot monitor (YAMON) it is not necessary to
      call this function, so just remove it.
      
      Also replace gpio_set_value() with alchemy_gpio_set_value() to avoid
      problems in case gpiolib gets initialized after PCI. And since alchemy
      gpio_set_value() calls au_sync() we don't have to au_sync() again later.
      Signed-off-by: default avatarBruno Randolf <br1@einfach.org>
      To: linux-mips@linux-mips.org
      To: manuel.lauss@googlemail.com
      Patchwork: https://patchwork.linux-mips.org/patch/1448/Tested-by: default avatarFlorian Fainelli <florian@openwrt.org>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      98a0f86a
    • David Daney's avatar
      MIPS: Make init_vdso a subsys_initcall. · 1ed84537
      David Daney authored
      Quoting from Jiri Slaby's patch of a similar nature for x86:
      
          When initrd is in use and a driver does request_module() in its
          module_init (i.e. __initcall or device_initcall), a modprobe
          process is created with VDSO mapping. But VDSO is inited even in
          __initcall, i.e. on the same level (at the same time), so it may
          not be inited yet (link order matters).
      
      Move init_vdso up to subsys_initcall to avoid the issue.
      Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
      To: linux-mips@linux-mips.org
      Cc: David Daney <ddaney@caviumnetworks.com>
      Cc: Jiri Slaby <jslaby@suse.cz>
      Patchwork: http://patchwork.linux-mips.org/patch/1386/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      1ed84537
    • David Daney's avatar
      MIPS: "Fix" useless 'init_vdso successfully' message. · 57d15018
      David Daney authored
      In addition to being useless, it was mis-spelled.
      Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
      To: linux-mips@linux-mips.org
      Cc: David Daney <ddaney@caviumnetworks.com>
      Patchwork: http://patchwork.linux-mips.org/patch/1385/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      57d15018
    • David VomLehn's avatar
      MIPS: PowerTV: Move register setup to before reading registers. · 28d7d213
      David VomLehn authored
      The 4600 family code reads registers to differentiate between two ASIC
      variants, but this was being done prior to the register setup. This moves
      register setup before the reading code.
      Signed-off-by: default avatarDavid VomLehn <dvomlehn@cisco.com>
      To: linux-mips@linux-mips.org
      Patchwork: http://patchwork.linux-mips.org/patch/1392/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      28d7d213
    • Ralf Baechle's avatar
      SOUND: Au1000: Fix section mismatch · 93871603
      Ralf Baechle authored
      WARNING: sound/soc/au1x/snd-soc-au1xpsc-i2s.o(.data+0xa8): Section mismatch in reference from the variable au1xpsc_i2s_driver to the function .init.text:au1xpsc_i2s_drvprobe()
      The variable au1xpsc_i2s_driver references
      the function __init au1xpsc_i2s_drvprobe()
      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 avatarRalf Baechle <ralf@linux-mips.org>
      93871603
    • Ralf Baechle's avatar
      VIDEO: Au1100fb: Fix section mismatch · 362992b1
      Ralf Baechle authored
      WARNING: drivers/video/built-in.o(.data+0x360): Section mismatch in reference from the variable au1100fb_driver to the function .init.text:au1100fb_drv_probe()
      The variable au1100fb_driver references
      the function __init au1100fb_drv_probe()
      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,
      
      Fixing which triggers of a slew of further mismatches:
      
      WARNING: drivers/video/built-in.o(.devinit.text+0xc0): Section mismatch in reference from the function au1100fb_drv_probe() to the variable .init.data:au1100fb_fix
      The function __devinit au1100fb_drv_probe() references
      a variable __initdata au1100fb_fix.
      If au1100fb_fix is only used by au1100fb_drv_probe then
      annotate au1100fb_fix with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x21c): Section mismatch in reference from the function au1100fb_drv_probe() to the variable .init.data:au1100fb_var
      The function __devinit au1100fb_drv_probe() references
      a variable __initdata au1100fb_var.
      If au1100fb_var is only used by au1100fb_drv_probe then
      annotate au1100fb_var with a matching annotation.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      362992b1
    • Ralf Baechle's avatar
      VIDEO: PMAGB-B: Fix section mismatch · 5b1638d9
      Ralf Baechle authored
      WARNING: drivers/built-in.o(.devinit.text+0xc0): Section mismatch in reference from the function pmagbafb_probe() to the variable .init.data:pmagbafb_fix
      The function __devinit pmagbafb_probe() references
      a variable __initdata pmagbafb_fix.
      If pmagbafb_fix is only used by pmagbafb_probe then
      annotate pmagbafb_fix with a matching annotation.
      
      Fixing this one triggers a few more mismatches in order:
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x414): Section mismatch in reference from the function pmagbbfb_probe() to the variable .init.data:pmagbbfb_fix
      The function __devinit pmagbbfb_probe() references
      a variable __initdata pmagbbfb_fix.
      If pmagbbfb_fix is only used by pmagbbfb_probe then
      annotate pmagbbfb_fix with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x45c): Section mismatch in reference from the function pmagbbfb_probe() to the variable .init.data:pmagbbfb_defined
      The function __devinit pmagbbfb_probe() references
      a variable __initdata pmagbbfb_defined.
      If pmagbbfb_defined is only used by pmagbbfb_probe then
      annotate pmagbbfb_defined with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x5fc): Section mismatch in reference from the function pmagbbfb_probe() to the function .init.text:pmagbbfb_screen_setup()
      The function __devinit pmagbbfb_probe() references
      a function __init pmagbbfb_screen_setup().
      If pmagbbfb_screen_setup is only used by pmagbbfb_probe then
      annotate pmagbbfb_screen_setup with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x6f4): Section mismatch in reference from the function pmagbbfb_probe() to the function .init.text:pmagbbfb_osc_setup()
      The function __devinit pmagbbfb_probe() references
      a function __init pmagbbfb_osc_setup().
      If pmagbbfb_osc_setup is only used by pmagbbfb_probe then
      annotate pmagbbfb_osc_setup with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x5f8): Section mismatch in reference from the function pmagbbfb_osc_setup() to the variable .init.data:pmagbbfb_freqs.15993
      The function __devinit pmagbbfb_osc_setup() references
      a variable __initdata pmagbbfb_freqs.15993.
      If pmagbbfb_freqs.15993 is only used by pmagbbfb_osc_setup then
      annotate pmagbbfb_freqs.15993 with a matching annotation.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      5b1638d9
    • Ralf Baechle's avatar
      VIDEO: PMAG-BA: Fix section mismatch · 9625b513
      Ralf Baechle authored
      WARNING: drivers/video/built-in.o(.data+0x1e0): Section mismatch in reference fr
      om the variable pmagbafb_driver to the function .init.text:pmagbafb_probe()
      The variable pmagbafb_driver references
      the function __init pmagbafb_probe()
      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,
      
      Fixing this one triggers 2 more:
      
      WARNING: drivers/video/built-in.o(.devinit.text+0xc0): Section mismatch in reference from the function pmagbafb_probe() to the variable .init.data:pmagbafb_fix
      The function __devinit pmagbafb_probe() references
      a variable __initdata pmagbafb_fix.
      If pmagbafb_fix is only used by pmagbafb_probe then
      annotate pmagbafb_fix with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x108): Section mismatch in reference from the function pmagbafb_probe() to the variable .init.data:pmagbafb_defined
      The function __devinit pmagbafb_probe() references
      a variable __initdata pmagbafb_defined.
      If pmagbafb_defined is only used by pmagbafb_probe then
      annotate pmagbafb_defined with a matching annotation.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      9625b513
    • Ralf Baechle's avatar
      NET: declance: Fix section mismatches · 3852cc33
      Ralf Baechle authored
      WARNING: drivers/net/built-in.o(.data+0x24): Section mismatch in reference from
      the variable dec_lance_tc_driver to the function .init.text:dec_lance_tc_probe()
      The variable dec_lance_tc_driver references
      the function __init dec_lance_tc_probe()
      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,
      
      Fixing this one results in a new mismatch:
      
      WARNING: drivers/net/built-in.o(.devinit.text+0x14): Section mismatch in reference from the function dec_lance_tc_probe() to the function .init.text:dec_lance_probe()
      The function __devinit dec_lance_tc_probe() references
      a function __init dec_lance_probe().
      If dec_lance_probe is only used by dec_lance_tc_probe then
      annotate dec_lance_probe with a matching annotation.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      3852cc33
    • Ralf Baechle's avatar
      VIDEO. gbefb: Fix section mismatches. · 18f9f11a
      Ralf Baechle authored
      WARNING: drivers/video/built-in.o(.devinit.text+0x54): Section mismatch in reference from the function gbefb_probe() to the function .init.text:gbefb_setup()
      The function __devinit gbefb_probe() references
      a function __init gbefb_setup().
      If gbefb_setup is only used by gbefb_probe then
      annotate gbefb_setup with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x208): Section mismatch in reference from the function gbefb_probe() to the variable .init.data:mode_option
      The function __devinit gbefb_probe() references
      a variable __initdata mode_option.
      If mode_option is only used by gbefb_probe then
      annotate mode_option with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x214): Section mismatch in reference from the function gbefb_probe() to the variable .init.data:default_mode
      The function __devinit gbefb_probe() references
      a variable __initdata default_mode.
      If default_mode is only used by gbefb_probe then
      annotate default_mode with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x23c): Section mismatch in reference from the function gbefb_probe() to the variable .init.data:default_var
      The function __devinit gbefb_probe() references
      a variable __initdata default_var.
      If default_var is only used by gbefb_probe then
      annotate default_var with a matching annotation.
      
      Fixing these results in more mismatches:
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x3c): Section mismatch in reference from the function gbefb_setup() to the variable .init.data:default_var_LCD
      The function __devinit gbefb_setup() references
      a variable __initdata default_var_LCD.
      If default_var_LCD is only used by gbefb_setup then
      annotate default_var_LCD with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x14c): Section mismatch in reference from the function gbefb_setup() to the variable .init.data:default_mode_LCD
      The function __devinit gbefb_setup() references
      a variable __initdata default_mode_LCD.
      If default_mode_LCD is only used by gbefb_setup then
      annotate default_mode_LCD with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x150): Section mismatch in reference from the function gbefb_setup() to the variable .init.data:default_var_CRT
      The function __devinit gbefb_setup() references
      a variable __initdata default_var_CRT.
      If default_var_CRT is only used by gbefb_setup then
      annotate default_var_CRT with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x154): Section mismatch in reference from the function gbefb_setup() to the variable .init.data:default_mode_CRT
      The function __devinit gbefb_setup() references
      a variable __initdata default_mode_CRT.
      If default_mode_CRT is only used by gbefb_setup then
      annotate default_mode_CRT with a matching annotation.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      18f9f11a
  2. 23 Jul, 2010 9 commits
  3. 22 Jul, 2010 20 commits