diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-05-02 17:27:16 (GMT) |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 17:27:16 (GMT) |
commit | 978c038ec944e4f2c940b0975c6acb433203a9be (patch) | |
tree | f4bab9c040e5c4876fadeea765fed623f148ad69 /include/asm-v850/hw_irq.h | |
parent | 7c3576d261ce046789a7db14f43303f8120910c7 (diff) | |
download | linux-978c038ec944e4f2c940b0975c6acb433203a9be.tar.xz |
[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 <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-v850/hw_irq.h')
0 files changed, 0 insertions, 0 deletions