Andi Kleen <a...@firstfloor.org> writes: > From: Andi Kleen <a...@linux.intel.com> > > This is mainly useful for simple statistic counters. > Essentially read-only, writing only clears.
Nice... > +#define param_check_percpu_uint(name, p) param_check_uint This is wrong; will it even compile? It should also do the __percpu annotation so hopefully sparse will catch any misuses, eg: #define param_check_percpu_uint(name, p) \ __param_check(name, p, __percpu unsigned int) The rest looks good, but I'll need a user :) Cheers, Rusty. -- 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/