| .. | .. |
|---|
| 196 | 196 | * Need to use raw, since this must be called before the |
|---|
| 197 | 197 | * recursive protection is performed. |
|---|
| 198 | 198 | */ |
|---|
| 199 | | - local_irq_save(flags); |
|---|
| 199 | + flags = hard_local_irq_save(); |
|---|
| 200 | 200 | cpu = raw_smp_processor_id(); |
|---|
| 201 | 201 | data = per_cpu_ptr(tr->array_buffer.data, cpu); |
|---|
| 202 | 202 | disabled = atomic_inc_return(&data->disabled); |
|---|
| .. | .. |
|---|
| 208 | 208 | } |
|---|
| 209 | 209 | |
|---|
| 210 | 210 | atomic_dec(&data->disabled); |
|---|
| 211 | | - local_irq_restore(flags); |
|---|
| 211 | + hard_local_irq_restore(flags); |
|---|
| 212 | 212 | } |
|---|
| 213 | 213 | |
|---|
| 214 | 214 | static struct tracer_opt func_opts[] = { |
|---|