From: Ingo Molnar <mingo@elte.hu>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: the arch/x86 maintainers <x86@kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] x86 headers: remove duplicate pud_large() definition
Date: Fri, 13 Feb 2009 13:18:58 +0100 [thread overview]
Message-ID: <20090213121858.GB5483@elte.hu> (raw)
In-Reply-To: <20090213120239.GL15679@elte.hu>
* Ingo Molnar <mingo@elte.hu> wrote:
>
> * Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
> > I cleaned up the untangle series.
> >
> > The following changes since commit 9049a11de73d3ecc623f1903100d099f82ede56c:
> > Jeremy Fitzhardinge (1):
> > Merge commit 'remotes/tip/x86/paravirt' into x86/untangle2
> >
> > are available in the git repository at:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git x86/untangle2
> >
> > Jeremy Fitzhardinge (10):
> > x86: rename *-defs.h to *-_types.h for consistency
> > Split pgtable.h into pgtable_types.h and pgtable.h
> > x86: Split pgtable_32.h into pgtable_32.h and pgtable_32_types.h
> > x86: Split pgtable_64.h into pgtable_64_types.h and pgtable_64.h
> > x86: Include pgtable_32|64_types.h in pgtable_types.h
> > x86: create _types.h counterparts for page*.h
> > x86: move 2 and 3 level asm-generic defs into page-defs
> > x86: move defs around to allow paravirt.h to just include page_types.h
> > x86: define pud_flags and pud_large properly to allow non-PAE builds
> > x86: move pte types into pgtable*.h
> >
> > arch/x86/include/asm/page.h | 168 +----------
> > arch/x86/include/asm/page_32.h | 89 +------
> > arch/x86/include/asm/page_32_types.h | 62 ++++
> > arch/x86/include/asm/page_64.h | 101 +------
> > arch/x86/include/asm/page_64.h.rej | 114 +++++++
> > arch/x86/include/asm/page_64_types.h | 91 ++++++
> > arch/x86/include/asm/page_types.h | 64 ++++
> > arch/x86/include/asm/paravirt.h | 2 +-
> > arch/x86/include/asm/pgtable-2level-defs.h | 20 --
> > arch/x86/include/asm/pgtable-2level_types.h | 35 +++
> > ...gtable-3level-defs.h => pgtable-3level_types.h} | 18 ++
> > arch/x86/include/asm/pgtable.h | 322 ++++----------------
> > arch/x86/include/asm/pgtable_32.h | 42 +---
> > arch/x86/include/asm/pgtable_32_types.h | 46 +++
> > arch/x86/include/asm/pgtable_64.h | 48 +---
> > arch/x86/include/asm/pgtable_64_types.h | 62 ++++
> > arch/x86/include/asm/pgtable_types.h | 321 +++++++++++++++++++
> > arch/x86/include/asm/processor.h | 1 +
> > 18 files changed, 891 insertions(+), 715 deletions(-)
> > create mode 100644 arch/x86/include/asm/page_32_types.h
> > create mode 100644 arch/x86/include/asm/page_64.h.rej
> > create mode 100644 arch/x86/include/asm/page_64_types.h
> > create mode 100644 arch/x86/include/asm/page_types.h
> > delete mode 100644 arch/x86/include/asm/pgtable-2level-defs.h
> > create mode 100644 arch/x86/include/asm/pgtable-2level_types.h
> > rename arch/x86/include/asm/{pgtable-3level-defs.h => pgtable-3level_types.h} (67%)
> > create mode 100644 arch/x86/include/asm/pgtable_32_types.h
> > create mode 100644 arch/x86/include/asm/pgtable_64_types.h
> > create mode 100644 arch/x86/include/asm/pgtable_types.h
>
> Pulled into tip:x86/headers, thanks Jeremy!
btw., i had to do these conflict resolutions:
Conflicts:
arch/x86/include/asm/page.h
arch/x86/include/asm/pgtable.h
arch/x86/mach-voyager/voyager_smp.c
arch/x86/mm/fault.c
and this in kmemcheck:
Merge branch 'x86/headers' into kmemcheck
Conflicts:
arch/x86/include/asm/pgtable.h
Merged into:
arch/x86/include/asm/pgtable_types.h
Plus the fixlet below.
Ingo
------------------------->
>From 999c7880cc8eeb0cbe6610b8c6d0ab0ec51cd848 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 13 Feb 2009 13:15:55 +0100
Subject: [PATCH] x86 headers: remove duplicate pud_large() definition
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/include/asm/pgtable.h | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h
index 62024ff..1c097a3 100644
--- a/arch/x86/include/asm/pgtable.h
+++ b/arch/x86/include/asm/pgtable.h
@@ -387,13 +387,6 @@ static inline unsigned long pages_to_mb(unsigned long npg)
#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \
remap_pfn_range(vma, vaddr, pfn, size, prot)
-#if PAGETABLE_LEVELS == 2
-static inline int pud_large(pud_t pud)
-{
- return 0;
-}
-#endif
-
#if PAGETABLE_LEVELS > 2
static inline int pud_none(pud_t pud)
{
next prev parent reply other threads:[~2009-02-13 12:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 23:23 [GIT PULL] clean header untangling Jeremy Fitzhardinge
2009-02-13 12:02 ` Ingo Molnar
2009-02-13 12:18 ` Ingo Molnar [this message]
2009-02-13 12:23 ` [PATCH] x86 headers: include linux/types.h Ingo Molnar
2009-02-13 12:27 ` Ingo Molnar
2009-02-13 12:37 ` [PATCH] x86 headers: protect page_32.h via __ASSEMBLY__ Ingo Molnar
2009-02-13 18:44 ` Jeremy Fitzhardinge
2009-02-13 18:49 ` Ingo Molnar
2009-02-13 18:52 ` Jeremy Fitzhardinge
2009-02-13 18:57 ` Ingo Molnar
2009-02-13 16:25 ` [PATCH] x86 headers: include linux/types.h Jeremy Fitzhardinge
2009-02-13 18:09 ` Ingo Molnar
2009-02-16 21:00 ` Jeremy Fitzhardinge
2009-02-13 18:52 ` Jeremy Fitzhardinge
2009-02-13 18:55 ` Ingo Molnar
2009-02-13 18:59 ` Jeremy Fitzhardinge
2009-02-13 20:05 ` Ingo Molnar
2009-02-13 18:57 ` Jaswinder Singh Rajput
2009-02-13 16:27 ` [PATCH] x86 headers: remove duplicate pud_large() definition Jeremy Fitzhardinge
2009-02-13 18:02 ` Ingo Molnar
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=20090213121858.GB5483@elte.hu \
--to=mingo@elte.hu \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.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
all inboxes | Powered by JetHome®