]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: Xen: fix initial build problems
authorArnd Bergmann <arnd@arndb.de>
Tue, 9 Oct 2012 10:33:52 +0000 (10:33 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 9 Oct 2012 18:29:01 +0000 (20:29 +0200)
commitf880b67dcbdedb49453f88d2ccb1a0937b046d82
tree54d216190fd6233322903bfb81dec8611971b279
parentf3accb122f2c758494a6db3b9e9a8cd62aafcf83
ARM: Xen: fix initial build problems

* The XEN_BALLOON code requires the balloon infrastructure that is not
  getting built on ARM.

* The tmem hypercall is not available on ARM

* ARMv6 does not support cmpxchg on 16-bit words that are used in the
  Xen grant table code, so we must ensure that Xen support is only
  built on ARMv7-only kernels not combined ARMv6/v7 kernels.

* sys-hypervisor.c needs to include linux/err.h in order to use the
  IS_ERR/PTR_ERR/ERR_PTR family of functions.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: xen-devel@lists.xensource.com
arch/arm/Kconfig
drivers/xen/Kconfig
drivers/xen/sys-hypervisor.c