commit | 72cb4256c7574e1c2c1350fa92eecd7cef9e4772 | [log] [tgz] |
---|---|---|
author | Isaku Yamahata <yamahata@valinux.co.jp> | Mon May 19 22:13:31 2008 +0900 |
committer | Tony Luck <tony.luck@intel.com> | Tue May 27 14:39:07 2008 -0700 |
tree | 56d2872fafa5965816d339f3cea9ff06e288c1d1 | |
parent | 0e1a77ccdbc4ca59ccaf84168a0c3c1df4fadfc0 [diff] |
[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>