WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] Revert ARCH_HAS_DEV_MEM change in dri

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] Revert ARCH_HAS_DEV_MEM change in drivers/xen/char/mem.c
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Jul 2007 04:27:17 -0700
Delivery-date: Mon, 09 Jul 2007 04:25:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1183805056 -3600
# Node ID f833757672a70ee43afd0bfbfaa22cec3b132445
# Parent  3ac668c7e1aec4e5a7a572e689adb2dab5b90f8d
Revert ARCH_HAS_DEV_MEM change in drivers/xen/char/mem.c
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 drivers/xen/char/mem.c |    4 ----
 1 files changed, 4 deletions(-)

diff -r 3ac668c7e1ae -r f833757672a7 drivers/xen/char/mem.c
--- a/drivers/xen/char/mem.c    Sat Jul 07 10:19:02 2007 +0100
+++ b/drivers/xen/char/mem.c    Sat Jul 07 11:44:16 2007 +0100
@@ -33,7 +33,6 @@ static inline int valid_phys_addr_range(
 }
 #endif
 
-#ifdef ARCH_HAS_DEV_MEM
 /*
  * This funcion reads the *physical* memory. The f_pos points directly to the 
  * memory location. 
@@ -136,7 +135,6 @@ static ssize_t write_mem(struct file * f
        *ppos += written;
        return written;
 }
-#endif
 
 #ifndef ARCH_HAS_DEV_MEM_MMAP_MEM
 static inline int uncached_access(struct file *file)
@@ -196,7 +194,6 @@ static int open_mem(struct inode * inode
        return capable(CAP_SYS_RAWIO) ? 0 : -EPERM;
 }
 
-#ifdef ARCH_HAS_DEV_MEM
 const struct file_operations mem_fops = {
        .llseek         = memory_lseek,
        .read           = read_mem,
@@ -204,4 +201,3 @@ const struct file_operations mem_fops = 
        .mmap           = xen_mmap_mem,
        .open           = open_mem,
 };
-#endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] Revert ARCH_HAS_DEV_MEM change in drivers/xen/char/mem.c, Xen patchbot-linux-2.6.18-xen <=