[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Remove some references to powerpc port.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210250697 -3600
# Node ID 0da2e3c3ae18cdd9d499473fb3f5e260abc59864
# Parent  77db69c382497116ca3835cd51824723d20b5fb9
Remove some references to powerpc port.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/core/evtchn.c     |    3 ---
 drivers/xen/privcmd/privcmd.c |    2 --
 2 files changed, 5 deletions(-)

diff -r 77db69c38249 -r 0da2e3c3ae18 drivers/xen/core/evtchn.c
--- a/drivers/xen/core/evtchn.c Thu May 08 11:55:42 2008 +0100
+++ b/drivers/xen/core/evtchn.c Thu May 08 13:44:57 2008 +0100
@@ -200,9 +200,6 @@ static inline void exit_idle(void) {}
        (regs)->IRQ_REG = ~(irq);       \
        do_IRQ((regs));                 \
 } while (0)
-#elif defined (__powerpc__)
-#define do_IRQ(irq, regs)      __do_IRQ(irq, regs)
-static inline void exit_idle(void) {}
 #endif
 
 /* Xen will never allocate port zero for any purpose. */
diff -r 77db69c38249 -r 0da2e3c3ae18 drivers/xen/privcmd/privcmd.c
--- a/drivers/xen/privcmd/privcmd.c     Thu May 08 11:55:42 2008 +0100
+++ b/drivers/xen/privcmd/privcmd.c     Thu May 08 13:44:57 2008 +0100
@@ -229,11 +229,9 @@ static struct vm_operations_struct privc
 
 static int privcmd_mmap(struct file * file, struct vm_area_struct * vma)
 {
-#ifndef __powerpc__ /* PowerPC has a trick to safely do this. */
        /* Unsupported for auto-translate guests. */
        if (xen_feature(XENFEAT_auto_translated_physmap))
                return -ENOSYS;
-#endif
 
        /* DONTCOPY is essential for Xen as copy_page_range is broken. */
        vma->vm_flags |= VM_RESERVED | VM_IO | VM_DONTCOPY;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.