mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: tip-bot for David Rientjes <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org,
	kys@microsoft.com, tglx@linutronix.de, hpa@linux.intel.com,
	rientjes@google.com
Subject: [tip:x86/hyperv] x86, hyperv: Fix build error due to missing <asm /apic.h> include
Date: Wed, 30 Oct 2013 15:54:55 -0700	[thread overview]
Message-ID: <tip-d68ce0177c1e51fb332369e0c99852a6d05668af@git.kernel.org> (raw)
In-Reply-To: <alpine.DEB.2.02.1310111604160.31170@chino.kir.corp.google.com>

Commit-ID:  d68ce0177c1e51fb332369e0c99852a6d05668af
Gitweb:     http://git.kernel.org/tip/d68ce0177c1e51fb332369e0c99852a6d05668af
Author:     David Rientjes <rientjes@google.com>
AuthorDate: Fri, 11 Oct 2013 16:07:31 -0700
Committer:  H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Wed, 30 Oct 2013 15:37:47 -0700

x86, hyperv: Fix build error due to missing <asm/apic.h> include

9e7827b5ea4c ("x86, hyperv: Get the local APIC timer frequency from the
hypervisor") breaks the build with some configs because apic.h isn't
directly included:

arch/x86/kernel/cpu/mshyperv.c: In function 'ms_hyperv_init_platform':
arch/x86/kernel/cpu/mshyperv.c:90:3: error: 'lapic_timer_frequency' undeclared (first use in this function)
arch/x86/kernel/cpu/mshyperv.c:90:3: note: each undeclared identifier is reported only once for each function it appears in

Fix it by including asm/apic.h.

Signed-off-by: David Rientjes <rientjes@google.com>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1310111604160.31170@chino.kir.corp.google.com
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
 arch/x86/kernel/cpu/mshyperv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index 628ff50..9f6e9f8 100644
--- a/arch/x86/kernel/cpu/mshyperv.c
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -25,6 +25,7 @@
 #include <asm/idle.h>
 #include <asm/irq_regs.h>
 #include <asm/i8259.h>
+#include <asm/apic.h>
 
 struct ms_hyperv_info ms_hyperv;
 EXPORT_SYMBOL_GPL(ms_hyperv);

      parent reply	other threads:[~2013-10-30 22:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1380554932-9888-1-git-send-email-olaf@aepfle.de>
2013-10-10 19:00 ` [tip:x86/hyperv] x86, hyperv: Get the local APIC timer frequency from the hypervisor tip-bot for K. Y. Srinivasan
2013-10-11 23:07   ` [patch x86/hyperv] x86, hyperv: Fix build error David Rientjes
2013-10-11 23:16     ` KY Srinivasan
2013-10-11 23:28       ` David Rientjes
2013-10-11 23:31         ` KY Srinivasan
2013-10-30 22:19     ` [patch x86/hyperv resend] " David Rientjes
2013-10-30 22:54     ` tip-bot for David Rientjes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tip-d68ce0177c1e51fb332369e0c99852a6d05668af@git.kernel.org \
    --to=tipbot@zytor.com \
    --cc=hpa@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=rientjes@google.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome