android_kernel_xiaomi_sdm845/arch/sparc
Julia Lawall 71cd03b004 arch/sparc/mm: Use GFP_KERNEL
GFP_ATOMIC is not needed here, as evidenced by the other two uses of
GFP_KERNEL in the same function.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@ identifier f; @@

*f(...,GFP_ATOMIC,...)
... when != spin_unlock(...)
    when != read_unlock(...)
    when != write_unlock(...)
    when != read_unlock_irq(...)
    when != write_unlock_irq(...)
    when != read_unlock_irqrestore(...)
    when != write_unlock_irqrestore(...)
    when != spin_unlock_irq(...)
    when != spin_unlock_irqrestore(...)
*f(...,GFP_KERNEL,...)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-02 16:04:21 -07:00
..
boot Rename .data.init to .data..init. 2010-03-03 11:26:01 +01:00
configs sparc64: Update defconfig. 2010-05-26 21:18:23 -07:00
include/asm sparc: remove homegrown L1_CACHE_ALIGN macro 2010-06-29 00:38:02 -07:00
kernel Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-06-26 10:27:00 -07:00
lib sparc64: Allocate sufficient stack space in ftrace stubs. 2010-04-13 18:59:02 -07:00
math-emu Revert "endian: #define __BYTE_ORDER" 2010-05-26 08:30:15 -07:00
mm arch/sparc/mm: Use GFP_KERNEL 2010-08-02 16:04:21 -07:00
oprofile sparc: using HZ needs an include of linux/param.h 2009-10-05 00:46:08 -07:00
prom sparc64: Make prom entry spinlock NMI safe. 2010-03-03 09:06:03 -08:00
Kconfig asm-generic: add NEED_SG_DMA_LENGTH to define sg_dma_len() 2010-05-27 09:12:54 -07:00
Kconfig.debug sparc64: Kill CONFIG_STACK_DEBUG code. 2010-04-12 22:36:03 -07:00
Makefile sparc: Set UTS_MACHINE correctly. 2009-12-05 17:17:55 -08:00