]> err.no Git - linux-2.6/commit
[IA64] pvops: preparation: introduce ia64_get_psr_i() to make kernel paravirtualizati...
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 19 May 2008 13:13:31 +0000 (22:13 +0900)
committerTony Luck <tony.luck@intel.com>
Tue, 27 May 2008 21:39:07 +0000 (14:39 -0700)
commit72cb4256c7574e1c2c1350fa92eecd7cef9e4772
tree56d2872fafa5965816d339f3cea9ff06e288c1d1
parent0e1a77ccdbc4ca59ccaf84168a0c3c1df4fadfc0
[IA64] pvops: preparation: introduce ia64_get_psr_i() to make kernel paravirtualization friendly.

__local_irq_save() and local_save_flags() are used to mask interruptions.
They read all psr bits that requres whole bit emulation.
On the other hand, reading only psr.i, the single bit, can be virtualized
cheaply.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/intrinsics.h
include/asm-ia64/system.h