On Thu, Aug 02, 2012 at 08:35:51AM +0100, Ian Campbell wrote:
On Wed, 2012-08-01 at 19:27 +0100, Rob Herring wrote:
quoted
On 07/26/2012 10:33 AM, Stefano Stabellini wrote:
quoted
- Basic hypervisor.h and interface.h definitions.
- Skelethon enlighten.c, set xen_start_info to an empty struct.
- Do not limit xen_initial_domain to PV guests.
The new code only compiles when CONFIG_XEN is set, that is going to be
added to arch/arm/Kconfig in a later patch.
Signed-off-by: Stefano Stabellini <redacted>
---
arch/arm/Makefile | 1 +
arch/arm/include/asm/hypervisor.h | 6 +++
arch/arm/include/asm/xen/hypervisor.h | 19 ++++++++++
arch/arm/include/asm/xen/interface.h | 64 +++++++++++++++++++++++++++++++++
These headers don't seem particularly ARM specific. Could they be moved
to asm-generic or include/linux?
Or perhaps include/xen.
A bunch of it also looks like x86 specific stuff which has crept in.
e.g. PARAVIRT_LAZY_FOO and paravirt_get_lazy_mode() are arch/x86
specific and shouldn't be called from common code (and aren't, AFAICT).
The could be moved out..