ia64/linux-2.6.18-xen.hg

changeset 539:0da2e3c3ae18

Remove some references to powerpc port.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu May 08 13:44:57 2008 +0100 (2008-05-08)
parents 77db69c38249
children db71fb3204b5
files drivers/xen/core/evtchn.c drivers/xen/privcmd/privcmd.c
line diff
     1.1 --- a/drivers/xen/core/evtchn.c	Thu May 08 11:55:42 2008 +0100
     1.2 +++ b/drivers/xen/core/evtchn.c	Thu May 08 13:44:57 2008 +0100
     1.3 @@ -200,9 +200,6 @@ static inline void exit_idle(void) {}
     1.4  	(regs)->IRQ_REG = ~(irq);	\
     1.5  	do_IRQ((regs));			\
     1.6  } while (0)
     1.7 -#elif defined (__powerpc__)
     1.8 -#define do_IRQ(irq, regs)	__do_IRQ(irq, regs)
     1.9 -static inline void exit_idle(void) {}
    1.10  #endif
    1.11  
    1.12  /* Xen will never allocate port zero for any purpose. */
     2.1 --- a/drivers/xen/privcmd/privcmd.c	Thu May 08 11:55:42 2008 +0100
     2.2 +++ b/drivers/xen/privcmd/privcmd.c	Thu May 08 13:44:57 2008 +0100
     2.3 @@ -229,11 +229,9 @@ static struct vm_operations_struct privc
     2.4  
     2.5  static int privcmd_mmap(struct file * file, struct vm_area_struct * vma)
     2.6  {
     2.7 -#ifndef __powerpc__ /* PowerPC has a trick to safely do this. */
     2.8  	/* Unsupported for auto-translate guests. */
     2.9  	if (xen_feature(XENFEAT_auto_translated_physmap))
    2.10  		return -ENOSYS;
    2.11 -#endif
    2.12  
    2.13  	/* DONTCOPY is essential for Xen as copy_page_range is broken. */
    2.14  	vma->vm_flags |= VM_RESERVED | VM_IO | VM_DONTCOPY;