Yes you're right. I didn't do this before because previous versions
needed to support 2.2/2.4 kernels and building it as a module.
For what values of cpu is per_cpu(var,cpu) valid? For those where
cpu_online(cpu) is true, or those where cpu_possible(cpu) is true?
(I need to convert a memset() on the per_cpu_cache[] array to the
per_cpu(,) framework.)
I'll fix this and announce a new version later today.
/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
"testl %%edi,%%edi\n\t" + "jz 1f\n\t" + "bsfl %%edi,%%eax\n\t" + "addl %%edx,%%eax\n\t" + "1:\t" + :"=a" (res), "=&c" (d0), "=&D" (d1) + :"1" ((size - 1) >> 5), "2" (addr), "b" (size)); + return res; } /** - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/