1. 21 6月, 2011 31 次提交
  2. 20 6月, 2011 9 次提交
    • E
      veth: fix 64bit stats on 32bit arches · cf05c700
      Eric Dumazet 提交于
      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: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cf05c700
    • S
      net/staging: add needed interrupt.h and hardirq.h includes · 219eb47e
      Stephen Rothwell 提交于
      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: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      219eb47e
    • D
      drm/nouveau: drop leftover debugging · 4ee1c57f
      Dave Airlie 提交于
      this printk isn't really useful, just drop it for now.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      4ee1c57f
    • D
      drm/radeon: avoid warnings from r600/eg irq handlers on powered off card. · 682f1a54
      Dave Airlie 提交于
      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: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      682f1a54
    • A
      drm/radeon/kms: add missing param for dce3.2 DP transmitter setup · 74d074ee
      Alex Deucher 提交于
      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: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      74d074ee
    • A
      drm/radeon/kms/atom: fix duallink on some early DCE3.2 cards · 8323fa6b
      Alex Deucher 提交于
      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: NDave Airlie <airlied@redhat.com>
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      8323fa6b
    • R
    • R
    • R
      52f64fae