aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.26-sparse
diff options
context:
space:
mode:
authormwilli2@equilibrium.research.intel-research.net <mwilli2@equilibrium.research.intel-research.net>2004-05-06 11:18:49 +0000
committermwilli2@equilibrium.research.intel-research.net <mwilli2@equilibrium.research.intel-research.net>2004-05-06 11:18:49 +0000
commit224a3b68f873f25092cc799435977e6775f3e2fc (patch)
tree70291dd9dff330016525933d3ccb2a3f0678bf81 /xenolinux-2.4.26-sparse
parentb0c2c2078e4f1a26f5b6442ed264f6edcccb018a (diff)
downloadxen-224a3b68f873f25092cc799435977e6775f3e2fc.tar.gz
xen-224a3b68f873f25092cc799435977e6775f3e2fc.tar.bz2
xen-224a3b68f873f25092cc799435977e6775f3e2fc.zip
bitkeeper revision 1.887.1.1 (409a1f19c2yUU_JXMKfMgBliLnj32Q)
Fix IO memory mapping controls for driver domains.
Diffstat (limited to 'xenolinux-2.4.26-sparse')
-rw-r--r--xenolinux-2.4.26-sparse/arch/xen/mm/ioremap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xenolinux-2.4.26-sparse/arch/xen/mm/ioremap.c b/xenolinux-2.4.26-sparse/arch/xen/mm/ioremap.c
index 07524e01aa..9d12acfb50 100644
--- a/xenolinux-2.4.26-sparse/arch/xen/mm/ioremap.c
+++ b/xenolinux-2.4.26-sparse/arch/xen/mm/ioremap.c
@@ -183,10 +183,6 @@ void * __ioremap(unsigned long machine_addr,
unsigned long offset, last_addr;
pgprot_t prot;
- /* Only privileged Xenolinux can make unchecked pagetable updates. */
- if ( !(start_info.flags & SIF_PRIVILEGED) )
- return NULL;
-
/* Don't allow wraparound or zero size */
last_addr = machine_addr + size - 1;
if (!size || last_addr < machine_addr)