All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jones <drjones@redhat.com>
To: kvm@vger.kernel.org
Cc: pbonzini@redhat.com, rkrcmar@redhat.com, cdall@linaro.org,
	david@redhat.com, lvivier@redhat.com, thuth@redhat.com
Subject: [PATCH kvm-unit-tests 01/11] arm/arm64: cleanup alloc.h includes
Date: Tue, 16 Jan 2018 19:53:02 +0100	[thread overview]
Message-ID: <20180116185312.7257-2-drjones@redhat.com> (raw)
In-Reply-To: <20180116185312.7257-1-drjones@redhat.com>

It used to be necessary for the phys_addr_t typedef, but now
it doesn't make sense in a few places.

Signed-off-by: Andrew Jones <drjones@redhat.com>
---
 lib/arm/asm/setup.h  | 1 -
 lib/arm/mmu.c        | 1 -
 lib/arm64/asm/page.h | 2 --
 lib/arm64/spinlock.c | 1 +
 4 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/arm/asm/setup.h b/lib/arm/asm/setup.h
index b0d51f5f0721..42bf9ba8c716 100644
--- a/lib/arm/asm/setup.h
+++ b/lib/arm/asm/setup.h
@@ -6,7 +6,6 @@
  * This work is licensed under the terms of the GNU LGPL, version 2.
  */
 #include <libcflat.h>
-#include <alloc.h>	/* phys_addr_t */
 #include <asm/page.h>
 #include <asm/pgtable-hwdef.h>
 
diff --git a/lib/arm/mmu.c b/lib/arm/mmu.c
index 2e5c993f1e7f..9e420269f1c0 100644
--- a/lib/arm/mmu.c
+++ b/lib/arm/mmu.c
@@ -12,7 +12,6 @@
 #include <asm/setup.h>
 #include <asm/page.h>
 
-#include "alloc.h"
 #include "alloc_page.h"
 #include "vmalloc.h"
 #include <asm/pgtable-hwdef.h>
diff --git a/lib/arm64/asm/page.h b/lib/arm64/asm/page.h
index 01b4cf664aff..f06a6941971c 100644
--- a/lib/arm64/asm/page.h
+++ b/lib/arm64/asm/page.h
@@ -23,8 +23,6 @@
 
 #define PAGE_ALIGN(addr)	ALIGN(addr, PAGE_SIZE)
 
-#include <alloc.h>
-
 typedef u64 pteval_t;
 typedef u64 pmdval_t;
 typedef u64 pgdval_t;
diff --git a/lib/arm64/spinlock.c b/lib/arm64/spinlock.c
index a3907f03cacd..fac4fc9a7c20 100644
--- a/lib/arm64/spinlock.c
+++ b/lib/arm64/spinlock.c
@@ -5,6 +5,7 @@
  *
  * This work is licensed under the terms of the GNU LGPL, version 2.
  */
+#include <libcflat.h>
 #include <asm/spinlock.h>
 #include <asm/barrier.h>
 #include <asm/mmu.h>
-- 
2.13.6

  reply	other threads:[~2018-01-16 18:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 18:53 [PATCH kvm-unit-tests 00/11] arm/arm64: mmu fixes and feature Andrew Jones
2018-01-16 18:53 ` Andrew Jones [this message]
2018-01-16 18:53 ` [PATCH kvm-unit-tests 02/11] arm/arm64: add pgtable to thread_info Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 03/11] arm/arm64: fix virt_to_phys Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 04/11] arm/arm64: flush page table cache when installing entries Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 05/11] arm/arm64: setup: don't allow gaps in phys range Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 06/11] phys_alloc: ensure we account all allocations Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 07/11] page_alloc: allow initialization before setup_vm call Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 08/11] page_alloc: add yet another memalign Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 09/11] lib/auxinfo: add flags field Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 10/11] arm/arm64: allow setup_vm to be skipped Andrew Jones
2018-01-16 18:53 ` [PATCH kvm-unit-tests 11/11] arm/arm64: sieve should start with the mmu off Andrew Jones
2018-01-16 19:50 ` [PATCH kvm-unit-tests 00/11] arm/arm64: mmu fixes and feature David Hildenbrand
2018-01-17  9:12   ` Andrew Jones
2018-01-17  9:16     ` David Hildenbrand
2018-01-17 10:41       ` 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=20180116185312.7257-2-drjones@redhat.com \
    --to=drjones@redhat.com \
    --cc=cdall@linaro.org \
    --cc=david@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    --cc=thuth@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.