Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86: DT: Cleanup namespace and call irq_set_irq_type() unconditional
x86: DT: Fix return condition in irq_create_of_mapping()
x86, mpparse: Move check_slot into CONFIG_X86_IO_APIC context

+6 -8
+2 -4
arch/x86/kernel/devicetree.c
··· 65 65 return 0; 66 66 ret = ih->xlate(ih, intspec, intsize, &virq, &type); 67 67 if (ret) 68 - return ret; 68 + return 0; 69 69 if (type == IRQ_TYPE_NONE) 70 70 return virq; 71 - /* set the mask if it is different from current */ 72 - if (type == (irq_to_desc(virq)->status & IRQF_TRIGGER_MASK)) 73 - set_irq_type(virq, type); 71 + irq_set_irq_type(virq, type); 74 72 return virq; 75 73 } 76 74 EXPORT_SYMBOL_GPL(irq_create_of_mapping);
+4 -4
arch/x86/kernel/mpparse.c
··· 714 714 *nr_m_spare += 1; 715 715 } 716 716 } 717 - #else /* CONFIG_X86_IO_APIC */ 718 - static 719 - inline void __init check_irq_src(struct mpc_intsrc *m, int *nr_m_spare) {} 720 - #endif /* CONFIG_X86_IO_APIC */ 721 717 722 718 static int 723 719 check_slot(unsigned long mpc_new_phys, unsigned long mpc_new_length, int count) ··· 727 731 728 732 return ret; 729 733 } 734 + #else /* CONFIG_X86_IO_APIC */ 735 + static 736 + inline void __init check_irq_src(struct mpc_intsrc *m, int *nr_m_spare) {} 737 + #endif /* CONFIG_X86_IO_APIC */ 730 738 731 739 static int __init replace_intsrc_all(struct mpc_table *mpc, 732 740 unsigned long mpc_new_phys,