linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: wcohen@redhat.com (William Cohen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Avoid needing export of include/asm-generic/kvm_para.h
Date: Tue, 29 May 2012 10:45:59 -0400	[thread overview]
Message-ID: <1338302759-12364-2-git-send-email-wcohen@redhat.com> (raw)
In-Reply-To: <1338302759-12364-1-git-send-email-wcohen@redhat.com>

The include/asm-generic/kvm_para.h is not normally an exported file.
If it is used in $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h,
later checks will flag that as an error because the
asm-generic/kvm_para.h head is not installed.  The
asm-generic/kvm_para.h has information that is only used during the
build of the kernel and should not be exported. The
arch/arm/include/asm/kvm_para.h should be a generic generated file
instead.

Signed-off-by: William Cohen <wcohen@redhat.com>
---
 arch/arm/include/asm/Kbuild     |    1 +
 arch/arm/include/asm/kvm_para.h |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
 delete mode 100644 arch/arm/include/asm/kvm_para.h

diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild
index 960abce..3f45eb9 100644
--- a/arch/arm/include/asm/Kbuild
+++ b/arch/arm/include/asm/Kbuild
@@ -10,6 +10,7 @@ generic-y += errno.h
 generic-y += ioctl.h
 generic-y += irq_regs.h
 generic-y += kdebug.h
+generic-y += kvm_para.h
 generic-y += local.h
 generic-y += local64.h
 generic-y += percpu.h
diff --git a/arch/arm/include/asm/kvm_para.h b/arch/arm/include/asm/kvm_para.h
deleted file mode 100644
index 14fab8f..0000000
--- a/arch/arm/include/asm/kvm_para.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/kvm_para.h>
-- 
1.7.10.1

      reply	other threads:[~2012-05-29 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-29 14:45 [PATCH] Avoid needing export of include/asm-generic/kvm_para.h William Cohen
2012-05-29 14:45 ` William Cohen [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=1338302759-12364-2-git-send-email-wcohen@redhat.com \
    --to=wcohen@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).