2013-06-05 15:54:18

by Jeff Mahoney

[permalink] [raw]
Subject: [PATCH] powerpc: add missing include to book3s_xics.c

This fixes the following build failure:
arch/powerpc/kvm/book3s_xics.c:812: error: implicit declaration of function 'get_tb'

Signed-off-by: Jeff Mahoney <[email protected]>
---
arch/powerpc/kvm/book3s_xics.c | 1 +
1 file changed, 1 insertion(+)

--- a/arch/powerpc/kvm/book3s_xics.c
+++ b/arch/powerpc/kvm/book3s_xics.c
@@ -19,6 +19,7 @@
#include <asm/hvcall.h>
#include <asm/xics.h>
#include <asm/debug.h>
+#include <asm/time.h>

#include <linux/debugfs.h>
#include <linux/seq_file.h>


--
Jeff Mahoney
SUSE Labs


2013-06-06 06:16:32

by Paul Mackerras

[permalink] [raw]
Subject: Re: [PATCH] powerpc: add missing include to book3s_xics.c

On Wed, Jun 05, 2013 at 11:54:07AM -0400, Jeff Mahoney wrote:
> This fixes the following build failure:
> arch/powerpc/kvm/book3s_xics.c:812: error: implicit declaration of function 'get_tb'
>
> Signed-off-by: Jeff Mahoney <[email protected]>

Acked-by: Paul Mackerras <[email protected]>

Could you please send this to [email protected] so it gets into
patchwork and doesn't get forgotten?

Paul.