]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'stable/bug-fixes-rc2' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Apr 2011 03:01:04 +0000 (20:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Apr 2011 03:01:04 +0000 (20:01 -0700)
* 'stable/bug-fixes-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
  xen: Allow PV-OPS kernel to detect whether XSAVE is supported
  xen: just completely disable XSAVE
  xen/debug: Don't be so verbose with WARN on 1-1 mapping errors.
  xen: events: fix error checks in bind_*_to_irqhandler()

1  2 
drivers/xen/events.c

diff --combined drivers/xen/events.c
index 42d6c930cc87c3dab4ec512c6948ceb4a913e43f,589f0a53a604d822d88cc3145cb2b558a633db37..33167b43ac7e4ad9ae981b53ad6ee9069d453296
@@@ -5,7 -5,7 +5,7 @@@
   * domain gets 1024 event channels, but NR_IRQ is not that large, we
   * must dynamically map irqs<->event channels.  The event channels
   * interface with the rest of the kernel by defining a xen interrupt
 - * chip.  When an event is recieved, it is mapped to an irq and sent
 + * chip.  When an event is received, it is mapped to an irq and sent
   * through the normal interrupt processing path.
   *
   * There are four kinds of events which can be mapped to an event
@@@ -416,7 -416,7 +416,7 @@@ static int __must_check xen_allocate_ir
  #ifdef CONFIG_X86_IO_APIC
        /*
         * For an HVM guest or domain 0 which see "real" (emulated or
 -       * actual repectively) GSIs we allocate dynamic IRQs
 +       * actual respectively) GSIs we allocate dynamic IRQs
         * e.g. those corresponding to event channels or MSIs
         * etc. from the range above those "real" GSIs to avoid
         * collisions.
@@@ -912,8 -912,7 +912,7 @@@ int bind_evtchn_to_irqhandler(unsigned 
                              unsigned long irqflags,
                              const char *devname, void *dev_id)
  {
-       unsigned int irq;
-       int retval;
+       int irq, retval;
  
        irq = bind_evtchn_to_irq(evtchn);
        if (irq < 0)
@@@ -955,8 -954,7 +954,7 @@@ int bind_virq_to_irqhandler(unsigned in
                            irq_handler_t handler,
                            unsigned long irqflags, const char *devname, void *dev_id)
  {
-       unsigned int irq;
-       int retval;
+       int irq, retval;
  
        irq = bind_virq_to_irq(virq, cpu);
        if (irq < 0)