]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] vmi: apic ops
authorZachary Amsden <zach@vmware.com>
Mon, 5 Mar 2007 08:30:41 +0000 (00:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Mar 2007 15:57:52 +0000 (07:57 -0800)
commit523158d0e9253c6ead2e84076cd4c9bb58b8454a
tree58fa1b4418cba4fea017c6d6fd3c4fdf322d9942
parentda503101ffb93a7de38a7dc5d9ec3e2a88a5dfd4
[PATCH] vmi: apic ops

Use para_fill instead of directly setting the APIC ops to the result of the
vmi_get_function call - this allows one to implement a VMI ROM without
implementing APIC functions, just using the native APIC functions.

While doing this, I realized that there is a lot more cleanup that should have
been done.  Basically, we should never assume that the ROM implements a
specific set of functions, and always allow fallback to the native
implementation.

This is critical for future compatibility.

Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/vmi.c
include/asm-i386/vmi.h