On Fri, 9 Nov 2012, Shan Wei wrote: > - return buffer->buffer; > + return (char *)this_cpu_ptr(&percpu_buffer->buffer); > }
Add a comment to explain the cast? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/