From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
To: Chris Zankel <chris@zankel.net>
Cc: tglx@linutronix.de, Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Subject: [PATCH 2/2] xtensa/mm: remove WANT_PAGE_VIRTUAL
Date: Tue, 15 Mar 2011 22:49:33 +0100 [thread overview]
Message-ID: <1300225773-3548-3-git-send-email-sebastian@breakpoint.cc> (raw)
In-Reply-To: <1300225773-3548-1-git-send-email-sebastian@breakpoint.cc>
This is not usefull: it provides page->virtual and is used with
highmem. xtensa has no support for highmem and those HIGHMEM bits which are
found by grep are partly implemented. The interesting functions like kmap()
are missing. If someone actually implements the complete HIGHMEM support he
could use HASHED_PAGE_VIRTUAL like most others do.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
arch/xtensa/include/asm/page.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/xtensa/include/asm/page.h b/arch/xtensa/include/asm/page.h
index 161bb89..7a5591a 100644
--- a/arch/xtensa/include/asm/page.h
+++ b/arch/xtensa/include/asm/page.h
@@ -171,10 +171,6 @@ extern void copy_user_page(void*, void*, unsigned long, struct page*);
#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
-#ifdef CONFIG_MMU
-#define WANT_PAGE_VIRTUAL
-#endif
-
#endif /* __ASSEMBLY__ */
#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
--
1.7.4.1
prev parent reply other threads:[~2011-03-16 21:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1300225773-3548-1-git-send-email-sebastian@breakpoint.cc>
2011-03-15 21:49 ` [PATCH 1/2] xtensa/mm: remove pgtable.c Sebastian Andrzej Siewior
2011-03-15 21:49 ` Sebastian Andrzej Siewior [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=1300225773-3548-3-git-send-email-sebastian@breakpoint.cc \
--to=sebastian@breakpoint.cc \
--cc=chris@zankel.net \
--cc=tglx@linutronix.de \
/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®