xen: Attempt to patch inline versions of common operations
authorJeremy Fitzhardinge <jeremy@xensource.com>
Wed, 18 Jul 2007 01:37:07 +0000 (18:37 -0700)
committerJeremy Fitzhardinge <jeremy@goop.org>
Wed, 18 Jul 2007 15:47:45 +0000 (08:47 -0700)
commit6487673b8a858f99a5348e1078b3f5aec700f9e0
tree2c96da8fde879561f36678691ef997f3fdb7b3f0
parent60223a326fc8fa6e90e2c3fd28ae6de4a311d731
xen: Attempt to patch inline versions of common operations

This patchs adds the mechanism to allow us to patch inline versions of
common operations.

The implementations of the direct-access versions save_fl, restore_fl,
irq_enable and irq_disable are now in assembler, and the same code is
used for both out of line and inline uses.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Keir Fraser <keir@xensource.com>
arch/i386/kernel/asm-offsets.c
arch/i386/xen/Makefile
arch/i386/xen/enlighten.c
arch/i386/xen/xen-asm.S [new file with mode: 0644]
arch/i386/xen/xen-ops.h