Skip to content
Snippets Groups Projects
  1. Jun 21, 2011
  2. Jun 20, 2011
  3. Jun 19, 2011
    • Eric Dumazet's avatar
      veth: fix 64bit stats on 32bit arches · cf05c700
      Eric Dumazet authored
      
      Using 64bit stats on 32bit arches must use a synchronization or readers
      can get transient values.
      
      Fixes bug introduced in commit 6311cc44 (veth: convert to 64 bit
      statistics)
      
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cf05c700
    • Stephen Rothwell's avatar
      net/staging: add needed interrupt.h and hardirq.h includes · 219eb47e
      Stephen Rothwell authored
      
      Made necessary by commit a6b7a407 ("net: remove
      interrupt.h inclusion from netdevice.h").
      
      Fixes these build errors:
      
      drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1212:3: error: implicit declaration of function 'in_interrupt'
      drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1390:4: error: implicit declaration of function 'tasklet_schedule'
      drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1988:3: error: implicit declaration of function 'tasklet_init'
      drivers/staging/brcm80211/brcmfmac/dhd_linux.c:2288:5: error: implicit declaration of function 'tasklet_kill'
      drivers/staging/brcm80211/brcmfmac/dhd_linux.c:232:24: error: field 'tasklet' has incomplete type
      drivers/staging/brcm80211/brcmfmac/wl_iw.c:3670:2: error: implicit declaration of function 'in_interrupt'
      drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1349:3: error: implicit declaration of function 'free_irq'
      drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1352:2: error: implicit declaration of function 'tasklet_kill'
      drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1538:4: error: implicit declaration of function 'tasklet_schedule'
      drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:765:2: error: implicit declaration of function 'tasklet_init'
      drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:817:2: error: implicit declaration of function 'request_irq'
      drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:817:31: error: 'IRQF_SHARED' undeclared (first use in this function)
      drivers/staging/brcm80211/brcmsmac/wl_mac80211.h:65:24: error: field 'tasklet' has incomplete type
      drivers/staging/rtl8187se/ieee80211/ieee80211.h:994:24: error: field 'ps_task' has incomplete type
      drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:1790:3: error: implicit declaration of function 'tasklet_schedule'
      drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:2590:2: error: implicit declaration of function 'tasklet_init'
      drivers/staging/rtl8187se/r8180.h:461:24: error: field 'irq_rx_tasklet' has incomplete type
      drivers/staging/rtl8187se/r8180_core.c:2764:2: error: implicit declaration of function 'tasklet_init'
      drivers/staging/rtl8187se/r8180_core.c:2954:2: error: implicit declaration of function 'request_irq'
      drivers/staging/rtl8187se/r8180_core.c:2954:55: error: 'IRQF_SHARED' undeclared (first use in this function)
      drivers/staging/rtl8187se/r8180_core.c:3641:4: error: implicit declaration of function 'free_irq'
      drivers/staging/rtl8187se/r8180_core.c:4026:3: error: implicit declaration of function 'tasklet_schedule'
      drivers/staging/rtl8192e/ieee80211/ieee80211.h:2000:24: error: field 'ps_task' has incomplete type
      drivers/staging/rtl8192e/r8192E.h:909:24: error: field 'irq_rx_tasklet' has incomplete type
      drivers/staging/rtl8192e/r8192E.h:910:24: error: field 'irq_tx_tasklet' has incomplete type
      drivers/staging/rtl8192e/r8192E.h:911:31: error: field 'irq_prepare_beacon_tasklet' has incomplete type
      drivers/staging/rtl8192e/r8192E_core.c:2008:2: error: implicit declaration of function 'tasklet_init'
      drivers/staging/rtl8192e/r8192E_core.c:2412:54: error: 'IRQF_SHARED' undeclared (first use in this function)
      drivers/staging/rtl8192e/r8192E_core.c:2412:9: error: implicit declaration of function 'request_irq'
      drivers/staging/rtl8192e/r8192E_core.c:4640:4: error: implicit declaration of function 'free_irq'
      drivers/staging/rtl8192e/r8192E_core.c:620:2: error: implicit declaration of function 'synchronize_irq'
      drivers/staging/rtl8192e/r8192E_core.c:913:3: error: implicit declaration of function 'tasklet_schedule'
      drivers/staging/rtl8192u/ieee80211/ieee80211.h:1993:24: error: field 'ps_task' has incomplete type
      
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      219eb47e
    • Dave Airlie's avatar
      drm/nouveau: drop leftover debugging · 4ee1c57f
      Dave Airlie authored
      
      this printk isn't really useful, just drop it for now.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      4ee1c57f
    • Dave Airlie's avatar
      drm/radeon: avoid warnings from r600/eg irq handlers on powered off card. · 682f1a54
      Dave Airlie authored
      
      Since we were calling the wptr function before checking if the IH was
      even enabled, or the GPU wasn't shutdown, we'd get spam in the logs when
      the GPU readback 0xffffffff. This reorders things so we return early
      in the no IH and GPU shutdown cases.
      
      Reported-and-tested-by: ManDay on #radeon
      Reviewed-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      682f1a54
    • Alex Deucher's avatar
      drm/radeon/kms: add missing param for dce3.2 DP transmitter setup · 74d074ee
      Alex Deucher authored
      
      This is used during phy init to set up the phy for DP.  This may
      fix DP problems on DCE3.2 cards.
      
      Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      74d074ee
    • Alex Deucher's avatar
      drm/radeon/kms/atom: fix duallink on some early DCE3.2 cards · 8323fa6b
      Alex Deucher authored
      
      Certain revisions of the vbios on DCE3.2 cards have a bug
      in the transmitter control table which prevents duallink from
      being enabled properly on some cards.  The action switch statement
      jumps to the wrong offset for the OUTPUT_ENABLE action.  The fix
      is to use the ENABLE action rather than the OUTPUT_ENABLE action
      on the affected cards.  In fixed version of the vbios, both
      actions jump to the same offset, so the change should be safe.
      
      Reported-and-tested-by: default avatarDave Airlie <airlied@redhat.com>
      Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      8323fa6b
    • Richard Cochran's avatar
    • Richard Cochran's avatar
Loading