summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2009-05-05 13:57:52 +0100
committerTony Luck <tony.luck@intel.com>2009-05-05 11:43:13 -0700
commit0692698cb7369ea1ce74f3f87f70baf5072f8a37 (patch)
tree086afdae8fd416fca8fec1d8288dfe7bfe97706e /drivers/xen
parentf328ddc154605be11c4ca38fee6ace8adb140087 (diff)
downloadlinux-0692698cb7369ea1ce74f3f87f70baf5072f8a37.tar.gz
[IA64] xen_domu_defconfig: fix build issues/warnings
- drivers/xen/events.c did not compile - xen_setup_hook caused a modpost section warning - the use of u64 (instead of unsigned long long) together with a %llu in drivers/xen/balloon.c caused a compiler warning Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/balloon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c
index efa4b363ce72..f5bbd9e83416 100644
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -513,7 +513,8 @@ static ssize_t show_target(struct sys_device *dev, struct sysdev_attribute *attr
char *buf)
{
return sprintf(buf, "%llu\n",
- (u64)balloon_stats.target_pages << PAGE_SHIFT);
+ (unsigned long long)balloon_stats.target_pages
+ << PAGE_SHIFT);
}
static ssize_t store_target(struct sys_device *dev,