Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=28e3fed8b79c76450f264e77c58d0f5fbd2dd739
Commit:     28e3fed8b79c76450f264e77c58d0f5fbd2dd739
Parent:     b4471cbb09c4694e54092d02715c09fda2eb45ed
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 23:30:21 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 08:43:00 2007 -0700

    Compile handle_percpu_irq even for uniprocessor kernels
    
    Compiling handle_percpu_irq only on uniprocessor generates an artificial
    special case so a typical use like:
    
      set_irq_chip_and_handler(irq, &some_irq_type, handle_percpu_irq);
    
    needs to be conditionally compiled only on SMP systems as well and an
    alternative UP construct is usually needed - for no good reason.
    
    This fixes uniprocessor configurations for some MIPS SMP systems.
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
    Acked-by: Thomas Gleixner <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 kernel/irq/chip.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index f1a73f0..9b5dff6 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -503,7 +503,6 @@ out_unlock:
        spin_unlock(&desc->lock);
 }
 
-#ifdef CONFIG_SMP
 /**
  *     handle_percpu_IRQ - Per CPU local irq handler
  *     @irq:   the interrupt number
@@ -529,8 +528,6 @@ handle_percpu_irq(unsigned int irq, struct irq_desc *desc)
                desc->chip->eoi(irq);
 }
 
-#endif /* CONFIG_SMP */
-
 void
 __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
                  const char *name)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to