ia64/xen-unstable

changeset 18321:29c242c06ac2

x86: Simplify arch_virq_is_global().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 13 13:39:40 2008 +0100 (2008-08-13)
parents d96bf4cd0f37
children 60af813ea458
files xen/include/asm-x86/event.h
line diff
     1.1 --- a/xen/include/asm-x86/event.h	Wed Aug 13 12:13:59 2008 +0100
     1.2 +++ b/xen/include/asm-x86/event.h	Wed Aug 13 13:39:40 2008 +0100
     1.3 @@ -69,12 +69,7 @@ static inline void local_event_delivery_
     1.4  /* No arch specific virq definition now. Default to global. */
     1.5  static inline int arch_virq_is_global(int virq)
     1.6  {
     1.7 -    switch (virq) {
     1.8 -    case VIRQ_MCA:
     1.9 -        return 1;
    1.10 -    default:
    1.11 -        return 1;
    1.12 -    }
    1.13 +    return 1;
    1.14  }
    1.15  
    1.16  #endif