From: Jeremy Fitzhardinge Date: Wed, 2 May 2007 17:27:16 +0000 (+0200) Subject: [PATCH] i386: cleanups to help using per-cpu variables from asm X-Git-Tag: v2.6.22-rc1~1011^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=978c038ec944e4f2c940b0975c6acb433203a9be;p=pandora-kernel.git [PATCH] i386: cleanups to help using per-cpu variables from asm This patch does a few small cleanups: - use PER_CPU_NAME to generate the names of per-cpu variables - use lea to add the per_cpu offset in PER_CPU(), because it doesn't affect condition flags - add PER_CPU_VAR which allows direct access to pre-cpu variables with the %fs: prefix on SMP. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Andi Kleen Cc: Rusty Russell Cc: Andi Kleen --- Reading git-diff-tree failed