linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Mark Salter <msalter@redhat.com>,
	Aurelien Jacquiot <a-jacquiot@ti.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Chris Zankel <chris@zankel.net>,
	Max Filippov <jcmvbkbc@gmail.com>,
	linux-c6x-dev@linux-c6x.org, linux-kernel@vger.kernel.org,
	linux-xtensa@linux-xtensa.org, linux-arch@vger.kernel.org,
	Lars-Peter Clausen <lars@metafoo.de>
Subject: [PATCH 4/5] c6x: Use generic asm/mmu.h
Date: Thu,  1 Nov 2012 11:24:26 +0100	[thread overview]
Message-ID: <1351765467-29244-4-git-send-email-lars@metafoo.de> (raw)
In-Reply-To: <1351765467-29244-1-git-send-email-lars@metafoo.de>

c6x's asm/mmu.h is basically identical to asm-generic/mmu.h, so use it instead
of the custom version.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

---
Note, due to lack of toolchain, etc this patch is completely untested.
---
 arch/c6x/include/asm/Kbuild |    1 +
 arch/c6x/include/asm/mmu.h  |   22 ----------------------
 2 files changed, 1 insertions(+), 22 deletions(-)
 delete mode 100644 arch/c6x/include/asm/mmu.h

diff --git a/arch/c6x/include/asm/Kbuild b/arch/c6x/include/asm/Kbuild
index 112a496..3c8b660 100644
--- a/arch/c6x/include/asm/Kbuild
+++ b/arch/c6x/include/asm/Kbuild
@@ -25,6 +25,7 @@ generic-y += kdebug.h
 generic-y += kmap_types.h
 generic-y += local.h
 generic-y += mman.h
+generic-y += mmu.h
 generic-y += mmu_context.h
 generic-y += msgbuf.h
 generic-y += param.h
diff --git a/arch/c6x/include/asm/mmu.h b/arch/c6x/include/asm/mmu.h
deleted file mode 100644
index 4467e77..0000000
--- a/arch/c6x/include/asm/mmu.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *  Port on Texas Instruments TMS320C6x architecture
- *
- *  Copyright (C) 2004, 2009, 2010 Texas Instruments Incorporated
- *  Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License version 2 as
- *  published by the Free Software Foundation.
- */
-#ifndef _ASM_C6X_MMU_H
-#define _ASM_C6X_MMU_H
-
-typedef struct {
-	unsigned long		end_brk;
-#ifdef CONFIG_BINFMT_ELF_FDPIC
-	unsigned long	exec_fdpic_loadmap;
-	unsigned long	interp_fdpic_loadmap;
-#endif
-} mm_context_t;
-
-#endif /* _ASM_C6X_MMU_H */
-- 
1.7.2.5

  parent reply	other threads:[~2012-11-01 10:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01 10:24 [PATCH 1/5] asm-generic/mmu.h: Remove unused vmlist field from mm_context_t Lars-Peter Clausen
2012-11-01 10:24 ` Lars-Peter Clausen
2012-11-01 10:24 ` [PATCH 2/5] asm-generic/mmu.h: Add support for FDPIC Lars-Peter Clausen
2012-11-01 10:24   ` Lars-Peter Clausen
2012-11-01 10:24 ` [PATCH 3/5] h8300: Use generic asm/mmu.h Lars-Peter Clausen
2012-11-01 10:24   ` Lars-Peter Clausen
2012-11-01 10:24 ` Lars-Peter Clausen [this message]
2012-11-01 10:24   ` [PATCH 4/5] c6x: " Lars-Peter Clausen
2012-11-01 14:56   ` Mark Salter
2012-11-01 10:24 ` [PATCH 5/5] xtensa: Use generic asm/mmu.h for nommu Lars-Peter Clausen
2012-11-01 10:24   ` Lars-Peter Clausen
2012-12-03  8:28   ` czankel
2012-12-03  8:43     ` Lars-Peter Clausen
2012-12-03  8:55       ` czankel
2012-12-03 23:54 ` [PATCH 1/5] asm-generic/mmu.h: Remove unused vmlist field from mm_context_t Arnd Bergmann
2012-12-04  7:58   ` Lars-Peter Clausen
2012-12-04  7:58     ` Lars-Peter Clausen
2012-12-09 22:15     ` Arnd Bergmann

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=1351765467-29244-4-git-send-email-lars@metafoo.de \
    --to=lars@metafoo.de \
    --cc=a-jacquiot@ti.com \
    --cc=arnd@arndb.de \
    --cc=chris@zankel.net \
    --cc=jcmvbkbc@gmail.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-c6x-dev@linux-c6x.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xtensa@linux-xtensa.org \
    --cc=msalter@redhat.com \
    --cc=ysato@users.sourceforge.jp \
    /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).