Fix ia64 compilation IS_ERR and PTE_ERR errors.
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 10 Jul 2009 04:23:39 +0000 (21:23 -0700)
committerFenghua Yu <fenghua.yu@intel.com>
Fri, 17 Jul 2009 13:34:50 +0000 (06:34 -0700)
commit6f409461210baf76ade1bfdd9470fd5b98378b36
tree5b53a29227c7b49a1dca48daec6ba8bfe5c1c581
parent4b0a84043e0c14088958fddb62f416d050368011
Fix ia64 compilation IS_ERR and PTE_ERR errors.

When building ia64 kernel with CONFIG_XEN_SYS_HYPERVISOR, compiler reports
errors:

drivers/xen/sys-hypervisor.c: In function ‘uuid_show’:
drivers/xen/sys-hypervisor.c:125: error: implicit declaration of function ‘IS_ERR’
drivers/xen/sys-hypervisor.c:126: error: implicit declaration of function ‘PTR_ERR’

This patch fixes the errors.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Isaku Yamahata <yamahata@valinux.co.jp>
arch/ia64/include/asm/xen/hypervisor.h