* [PATCH] IA64: Fix IS_ERR() Compilation Errors
@ 2009-07-08 19:54 Fenghua Yu
2009-07-09 4:44 ` Isaku Yamahata
0 siblings, 1 reply; 2+ messages in thread
From: Fenghua Yu @ 2009-07-08 19:54 UTC (permalink / raw)
To: linux-ia64
Fix ia64 IS_ERR() compilation 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>
---
arch/ia64/include/asm/xen/hypervisor.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ia64/include/asm/xen/hypervisor.h b/arch/ia64/include/asm/xen/hypervisor.h
index e425227..88afb54 100644
--- a/arch/ia64/include/asm/xen/hypervisor.h
+++ b/arch/ia64/include/asm/xen/hypervisor.h
@@ -33,6 +33,7 @@
#ifndef _ASM_IA64_XEN_HYPERVISOR_H
#define _ASM_IA64_XEN_HYPERVISOR_H
+#include <linux/err.h>
#include <xen/interface/xen.h>
#include <xen/interface/version.h> /* to compile feature.c */
#include <xen/features.h> /* to comiple xen-netfront.c */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] IA64: Fix IS_ERR() Compilation Errors
2009-07-08 19:54 [PATCH] IA64: Fix IS_ERR() Compilation Errors Fenghua Yu
@ 2009-07-09 4:44 ` Isaku Yamahata
0 siblings, 0 replies; 2+ messages in thread
From: Isaku Yamahata @ 2009-07-09 4:44 UTC (permalink / raw)
To: linux-ia64
Thank you for fixing it.
Acked-by: Isaku Yamahata <yamahata@valinux.co.jp>
On Wed, Jul 08, 2009 at 12:54:00PM -0700, Fenghua Yu wrote:
> Fix ia64 IS_ERR() compilation 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>
>
> ---
> arch/ia64/include/asm/xen/hypervisor.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/ia64/include/asm/xen/hypervisor.h b/arch/ia64/include/asm/xen/hypervisor.h
> index e425227..88afb54 100644
> --- a/arch/ia64/include/asm/xen/hypervisor.h
> +++ b/arch/ia64/include/asm/xen/hypervisor.h
> @@ -33,6 +33,7 @@
> #ifndef _ASM_IA64_XEN_HYPERVISOR_H
> #define _ASM_IA64_XEN_HYPERVISOR_H
>
> +#include <linux/err.h>
> #include <xen/interface/xen.h>
> #include <xen/interface/version.h> /* to compile feature.c */
> #include <xen/features.h> /* to comiple xen-netfront.c */
--
yamahata
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-09 4:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-08 19:54 [PATCH] IA64: Fix IS_ERR() Compilation Errors Fenghua Yu
2009-07-09 4:44 ` Isaku Yamahata
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox