X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fcaif%2Fcaif_dev.c;h=61570ee76fe6eca7824431663917a32827c90c9b;hb=1a52bb0b686844021597d190e562ab55d1210104;hp=b0ce14fbf6ef7fee0f51e4d3e1b4c06637ff3b42;hpb=02550d61f49266930e674286379d3601006b2893;p=~andy%2Flinux diff --git a/net/caif/caif_dev.c b/net/caif/caif_dev.c index b0ce14fbf6e..61570ee76fe 100644 --- a/net/caif/caif_dev.c +++ b/net/caif/caif_dev.c @@ -76,12 +76,12 @@ static struct caif_device_entry_list *caif_device_list(struct net *net) static void caifd_put(struct caif_device_entry *e) { - irqsafe_cpu_dec(*e->pcpu_refcnt); + this_cpu_dec(*e->pcpu_refcnt); } static void caifd_hold(struct caif_device_entry *e) { - irqsafe_cpu_inc(*e->pcpu_refcnt); + this_cpu_inc(*e->pcpu_refcnt); } static int caifd_refcnt_read(struct caif_device_entry *e)