if (atomic_read(&buffer->record_disabled))
return NULL;
- raw_local_irq_save(*flags);
+ local_irq_save(*flags);
cpu = raw_smp_processor_id();
if (!cpu_isset(cpu, buffer->cpumask))
rb_commit(cpu_buffer, event);
spin_unlock(&cpu_buffer->lock);
- raw_local_irq_restore(flags);
+ local_irq_restore(flags);
return 0;
}
if (!cpu_isset(cpu, buffer->cpumask))
return;
- raw_local_irq_save(flags);
+ local_irq_save(flags);
spin_lock(&cpu_buffer->lock);
rb_reset_cpu(cpu_buffer);
spin_unlock(&cpu_buffer->lock);
- raw_local_irq_restore(flags);
+ local_irq_restore(flags);
}
/**