diff options
Diffstat (limited to 'net/caif/cffrml.c')
-rw-r--r-- | net/caif/cffrml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/caif/cffrml.c b/net/caif/cffrml.c index d3ca87bf23b7..0a7df7ef062d 100644 --- a/net/caif/cffrml.c +++ b/net/caif/cffrml.c | |||
@@ -177,14 +177,14 @@ void cffrml_put(struct cflayer *layr) | |||
177 | { | 177 | { |
178 | struct cffrml *this = container_obj(layr); | 178 | struct cffrml *this = container_obj(layr); |
179 | if (layr != NULL && this->pcpu_refcnt != NULL) | 179 | if (layr != NULL && this->pcpu_refcnt != NULL) |
180 | irqsafe_cpu_dec(*this->pcpu_refcnt); | 180 | this_cpu_dec(*this->pcpu_refcnt); |
181 | } | 181 | } |
182 | 182 | ||
183 | void cffrml_hold(struct cflayer *layr) | 183 | void cffrml_hold(struct cflayer *layr) |
184 | { | 184 | { |
185 | struct cffrml *this = container_obj(layr); | 185 | struct cffrml *this = container_obj(layr); |
186 | if (layr != NULL && this->pcpu_refcnt != NULL) | 186 | if (layr != NULL && this->pcpu_refcnt != NULL) |
187 | irqsafe_cpu_inc(*this->pcpu_refcnt); | 187 | this_cpu_inc(*this->pcpu_refcnt); |
188 | } | 188 | } |
189 | 189 | ||
190 | int cffrml_refcnt_read(struct cflayer *layr) | 190 | int cffrml_refcnt_read(struct cflayer *layr) |