linux-um archives
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: linux-kernel@vger.kernel.org
Cc: Artem.Bityutskiy@linux.intel.com, linux-mtd@lists.infradead.org,
	viro@zeniv.linux.org.uk,
	user-mode-linux-devel@lists.sourceforge.net,
	Richard Weinberger <richard@nod.at>
Subject: [uml-devel] [PATCH 2/5] um: Serve io_remap_pfn_range()
Date: Tue,  7 Feb 2012 01:22:47 +0100	[thread overview]
Message-ID: <1328574170-2286-2-git-send-email-richard@nod.at> (raw)
In-Reply-To: <1328574170-2286-1-git-send-email-richard@nod.at>

At some places io_remap_pfn_range() is needed.
UML has to serve it like all other archs do.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 arch/um/include/asm/pgtable.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/um/include/asm/pgtable.h b/arch/um/include/asm/pgtable.h
index 41474fb..6a3f984 100644
--- a/arch/um/include/asm/pgtable.h
+++ b/arch/um/include/asm/pgtable.h
@@ -69,6 +69,8 @@ extern unsigned long end_iomem;
 #define PAGE_KERNEL	__pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
 #define PAGE_KERNEL_EXEC	__pgprot(__PAGE_KERNEL_EXEC)
 
+#define io_remap_pfn_range	remap_pfn_range
+
 /*
  * The i386 can't do page protection for execute, and considers that the same
  * are read.
-- 
1.7.6


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


  reply	other threads:[~2012-02-07  0:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07  0:22 [PATCH 1/5] Introduce CONFIG_GENERIC_IO Richard Weinberger
2012-02-07  0:22 ` Richard Weinberger [this message]
2012-02-07  0:22 ` [uml-devel] [PATCH 3/5] um: a bunch of headers can be killed by using generic-y Richard Weinberger
2012-02-07  0:22 ` [uml-devel] [PATCH 4/5] um: Wire CONFIG_GENERIC_IO up Richard Weinberger
2012-02-07  0:22 ` [uml-devel] [PATCH 5/5] MTD: Relax dependencies Richard Weinberger
2012-02-07 11:58   ` Artem Bityutskiy

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=1328574170-2286-2-git-send-email-richard@nod.at \
    --to=richard@nod.at \
    --cc=Artem.Bityutskiy@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=viro@zeniv.linux.org.uk \
    /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