Re: [PATCH 8/9] trace: use this_cpu_ptr per-cpu helper

From: Christoph Lameter
Date: Mon Nov 05 2012 - 10:18:36 EST


On Sat, 3 Nov 2012, Shan Wei wrote:

> return (char *)this_cpu_ptr(&percpu_buffer->buffer);

Makes sense since buffer is the actual start of the bytes and not a
pointer to a buffer like what I thought.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/