Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f237a79 authored by Rusty Russell's avatar Rusty Russell Committed by Steven Rostedt
Browse files

cpumask: use new operators in kernel/trace



Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
LKML-Reference: <200906122115.30787.rusty@rustcorp.com.au>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 45e3e193
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ static int kmem_trace_init(struct trace_array *tr)
	int cpu;
	kmemtrace_array = tr;

	for_each_cpu_mask(cpu, cpu_possible_map)
	for_each_cpu(cpu, cpu_possible_mask)
		tracing_reset(tr, cpu);

	kmemtrace_start_probes();
+2 −2
Original line number Diff line number Diff line
@@ -3105,7 +3105,7 @@ static int rb_cpu_notify(struct notifier_block *self,
	switch (action) {
	case CPU_UP_PREPARE:
	case CPU_UP_PREPARE_FROZEN:
		if (cpu_isset(cpu, *buffer->cpumask))
		if (cpumask_test_cpu(cpu, buffer->cpumask))
			return NOTIFY_OK;

		buffer->buffers[cpu] =
@@ -3116,7 +3116,7 @@ static int rb_cpu_notify(struct notifier_block *self,
			return NOTIFY_OK;
		}
		smp_wmb();
		cpu_set(cpu, *buffer->cpumask);
		cpumask_set_cpu(cpu, buffer->cpumask);
		break;
	case CPU_DOWN_PREPARE:
	case CPU_DOWN_PREPARE_FROZEN: