1. 27 7月, 2010 12 次提交
    • D
      MIPS: Quit using undefined behavior of ADDU in 64-bit atomic operations. · f2a68272
      David Daney 提交于
      For 64-bit, we must use DADDU and DSUBU.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      To: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/1483/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f2a68272
    • R
      MIPS: N32: Define getdents64. · 31c984a5
      Ralf Baechle 提交于
      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: NRalf Baechle <ralf@linux-mips.org>
      31c984a5
    • B
      MIPS: MTX-1: Fix PCI on the MeshCube and related boards · 98a0f86a
      Bruno Randolf 提交于
      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: NBruno 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: NFlorian Fainelli <florian@openwrt.org>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      98a0f86a
    • D
      MIPS: Make init_vdso a subsys_initcall. · 1ed84537
      David Daney 提交于
      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: NDavid 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: NRalf Baechle <ralf@linux-mips.org>
      1ed84537
    • D
      MIPS: "Fix" useless 'init_vdso successfully' message. · 57d15018
      David Daney 提交于
      In addition to being useless, it was mis-spelled.
      Signed-off-by: NDavid 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: NRalf Baechle <ralf@linux-mips.org>
      57d15018
    • D
      MIPS: PowerTV: Move register setup to before reading registers. · 28d7d213
      David VomLehn 提交于
      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: NDavid VomLehn <dvomlehn@cisco.com>
      To: linux-mips@linux-mips.org
      Patchwork: http://patchwork.linux-mips.org/patch/1392/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      28d7d213
    • R
      SOUND: Au1000: Fix section mismatch · 93871603
      Ralf Baechle 提交于
      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: NRalf Baechle <ralf@linux-mips.org>
      93871603
    • R
      VIDEO: Au1100fb: Fix section mismatch · 362992b1
      Ralf Baechle 提交于
      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: NRalf Baechle <ralf@linux-mips.org>
      362992b1
    • R
      VIDEO: PMAGB-B: Fix section mismatch · 5b1638d9
      Ralf Baechle 提交于
      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: NRalf Baechle <ralf@linux-mips.org>
      5b1638d9
    • R
      VIDEO: PMAG-BA: Fix section mismatch · 9625b513
      Ralf Baechle 提交于
      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: NRalf Baechle <ralf@linux-mips.org>
      9625b513
    • R
      NET: declance: Fix section mismatches · 3852cc33
      Ralf Baechle 提交于
      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: NRalf Baechle <ralf@linux-mips.org>
      3852cc33
    • R
      VIDEO. gbefb: Fix section mismatches. · 18f9f11a
      Ralf Baechle 提交于
      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: NRalf Baechle <ralf@linux-mips.org>
      18f9f11a
  2. 24 7月, 2010 3 次提交
  3. 23 7月, 2010 18 次提交
  4. 22 7月, 2010 7 次提交