OpenCloudOS-Kernel/drivers/isdn/hardware/mISDN
Julia Lawall b42d9165e1 drivers/isdn/hardware/mISDN: Use GFP_ATOMIC when a lock is held
The function inittiger is only called from nj_init_card, where a lock is held.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@gfp exists@
identifier fn;
position p;
@@

fn(...) {
 ... when != spin_unlock_irqrestore
     when any
 GFP_KERNEL@p
 ... when any
}

@locked@
identifier gfp.fn;
@@

spin_lock_irqsave(...)
...  when != spin_unlock_irqrestore
fn(...)

@depends on locked@
position gfp.p;
@@

- GFP_KERNEL@p
+ GFP_ATOMIC
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-01 00:26:06 -07:00
..
Kconfig isdn: fix netjet/isdnhdlc build errors 2009-09-28 12:47:36 -07:00
Makefile mISDN: Add support for Traverse Technologies NETJet PCI cards 2009-07-25 20:22:36 +02:00
avmfritz.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hfc_multi.h mISDN: Add XHFC support for embedded Speech-Design board to hfcmulti 2009-05-25 00:55:30 -07:00
hfc_multi_8xx.h mISDN: Add XHFC support for embedded Speech-Design board to hfcmulti 2009-05-25 00:55:30 -07:00
hfc_pci.h mISDN: Add different different timer settings for hfc-pci 2009-01-09 22:44:28 +01:00
hfcmulti.c Merge branch 'master' into for-next 2010-04-23 02:08:44 +02:00
hfcpci.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hfcsusb.c drivers/isdn/hardware/mISDN: Add missing spin_unlock 2010-05-29 00:18:48 -07:00
hfcsusb.h tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
iohelper.h mISDN: Fix wrong struct name in macro and clarifications 2009-07-27 08:20:55 -07:00
ipac.h mISDN: Fix wrong struct name in macro and clarifications 2009-07-27 08:20:55 -07:00
isar.h mISDN: Fix wrong struct name in macro and clarifications 2009-07-27 08:20:55 -07:00
mISDNinfineon.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mISDNipac.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mISDNisar.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
netjet.c drivers/isdn/hardware/mISDN: Use GFP_ATOMIC when a lock is held 2010-06-01 00:26:06 -07:00
netjet.h mISDN: Add support for Traverse Technologies NETJet PCI cards 2009-07-25 20:22:36 +02:00
speedfax.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
w6692.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
w6692.h mISDN: Add driver for Winbond cards 2009-07-25 20:21:28 +02:00