public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jones <drjones@redhat.com>
To: kvm@vger.kernel.org
Cc: pfeiner@google.com, pbonzini@redhat.com, rkrcmar@redhat.com
Subject: [kvm-unit-tests PATCH 7/8] stack: copy common asm/stack.h bits to all arches
Date: Tue, 19 Apr 2016 16:28:09 +0200	[thread overview]
Message-ID: <1461076090-24308-8-git-send-email-drjones@redhat.com> (raw)
In-Reply-To: <1461076090-24308-1-git-send-email-drjones@redhat.com>

Signed-off-by: Andrew Jones <drjones@redhat.com>
---
 lib/arm/asm/stack.h     | 8 ++++++++
 lib/arm64/asm/stack.h   | 8 ++++++++
 lib/powerpc/asm/stack.h | 8 ++++++++
 lib/ppc64/asm/stack.h   | 8 ++++++++
 4 files changed, 32 insertions(+)

diff --git a/lib/arm/asm/stack.h b/lib/arm/asm/stack.h
index e69de29bb2d1d..fe97ac5d4b7d9 100644
--- a/lib/arm/asm/stack.h
+++ b/lib/arm/asm/stack.h
@@ -0,0 +1,8 @@
+#ifndef _ASMARM_STACK_H_
+#define _ASMARM_STACK_H_
+
+#ifndef _STACK_H_
+#error Do not directly include <asm/stack.h>. Just use <stack.h>.
+#endif
+
+#endif
diff --git a/lib/arm64/asm/stack.h b/lib/arm64/asm/stack.h
index e69de29bb2d1d..d0006242fdaaf 100644
--- a/lib/arm64/asm/stack.h
+++ b/lib/arm64/asm/stack.h
@@ -0,0 +1,8 @@
+#ifndef _ASMARM64_STACK_H_
+#define _ASMARM64_STACK_H_
+
+#ifndef _STACK_H_
+#error Do not directly include <asm/stack.h>. Just use <stack.h>.
+#endif
+
+#endif
diff --git a/lib/powerpc/asm/stack.h b/lib/powerpc/asm/stack.h
index e69de29bb2d1d..e1c46ee092a10 100644
--- a/lib/powerpc/asm/stack.h
+++ b/lib/powerpc/asm/stack.h
@@ -0,0 +1,8 @@
+#ifndef _ASMPOWERPC_STACK_H_
+#define _ASMPOWERPC_STACK_H_
+
+#ifndef _STACK_H_
+#error Do not directly include <asm/stack.h>. Just use <stack.h>.
+#endif
+
+#endif
diff --git a/lib/ppc64/asm/stack.h b/lib/ppc64/asm/stack.h
index e69de29bb2d1d..9734bbb8f7bd9 100644
--- a/lib/ppc64/asm/stack.h
+++ b/lib/ppc64/asm/stack.h
@@ -0,0 +1,8 @@
+#ifndef _ASMPPC64_STACK_H_
+#define _ASMPPC64_STACK_H_
+
+#ifndef _STACK_H_
+#error Do not directly include <asm/stack.h>. Just use <stack.h>.
+#endif
+
+#endif
-- 
2.4.11


  parent reply	other threads:[~2016-04-19 14:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 14:28 [kvm-unit-tests PATCH 0/8] arm: fix building by adding a feature Andrew Jones
2016-04-19 14:28 ` [kvm-unit-tests PATCH 1/8] x86: change exit to abort again Andrew Jones
2016-04-19 15:30   ` Peter Feiner
2016-04-19 14:28 ` [kvm-unit-tests PATCH 2/8] x86: trivial: there's no dump_stack.o Andrew Jones
2016-04-19 15:31   ` Peter Feiner
2016-04-19 14:28 ` [kvm-unit-tests PATCH 3/8] pretty_print_stacks: keep the 'STACK:' line Andrew Jones
2016-04-19 15:31   ` Peter Feiner
2016-04-19 14:28 ` [kvm-unit-tests PATCH 4/8] pretty_print_stacks: use elf file for the kernel Andrew Jones
2016-04-19 14:53   ` Andrew Jones
2016-04-19 15:41     ` Peter Feiner
2016-04-19 14:28 ` [kvm-unit-tests PATCH 5/8] pretty_print_stacks: addr2line may need a cross prefix Andrew Jones
2016-04-19 15:33   ` Peter Feiner
2016-04-19 15:45     ` Andrew Jones
2016-04-19 14:28 ` [kvm-unit-tests PATCH 6/8] stack: share api prototypes Andrew Jones
2016-04-19 15:37   ` Peter Feiner
2016-04-19 14:28 ` Andrew Jones [this message]
2016-04-19 15:38   ` [kvm-unit-tests PATCH 7/8] stack: copy common asm/stack.h bits to all arches Peter Feiner
2016-04-19 14:28 ` [kvm-unit-tests PATCH 8/8] arm: stack: add dump_stack support Andrew Jones
2016-04-19 15:41   ` Peter Feiner
2016-04-19 15:55     ` Andrew Jones

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=1461076090-24308-8-git-send-email-drjones@redhat.com \
    --to=drjones@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=pfeiner@google.com \
    --cc=rkrcmar@redhat.com \
    /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