From: Dan Carpenter Date: Tue, 16 Apr 2013 07:51:28 +0000 (+0300) Subject: ath9k: use GFP_ATOMIC under spinlock X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=703a4e5521dcd6624a8740c5be597c4fc8e4b9bb;p=pandora-kernel.git ath9k: use GFP_ATOMIC under spinlock This is called with spinlocks held so we have to use GFP_ATOMIC. It's the sc_pcu_lock in ath9k_stop() that's the issue. The call tree looks like this: ath9k_stop() ath_prepare_reset() ath_stoprecv() ath_flushrecv() ath_rx_tasklet() ath9k_dfs_process_phyerr() pd->add_pulse() => dpd_add_pulse() channel_detector_get() channel_detector_create() pri_detector_init() channel_detector_create() uses GFP_ATOMIC as well. Signed-off-by: Dan Carpenter Tested-by: Zefir Kurtisi Acked-by: Zefir Kurtisi Signed-off-by: John W. Linville --- Reading git-diff-tree failed