• Ben Dooks's avatar
    [ARM PATCH] 2481/1: IXP2000 - replace sti/cli with local_irq{save,restore} · 570f1d8b
    Ben Dooks authored
    Patch from Ben Dooks
    
    Fix the following:
    arch/arm/mach-ixp2000/pci.c:148: warning: `cli' is deprecated (declared at include/linux/interrupt.h:65)
    arch/arm/mach-ixp2000/pci.c:161: warning: `sti' is deprecated (declared at include/linux/interrupt.h:69)
    arch/arm/mach-ixp2000/pci.c:178: warning: `cli' is deprecated (declared at include/linux/interrupt.h:65)
    arch/arm/mach-ixp2000/pci.c:191: warning: `sti' is deprecated (declared at include/linux/interrupt.h:69)
    By replacing cli() wht local_irq_save() and sti() with local_irq_restore().
    This patch has not been tested.
    
    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King
    570f1d8b
pci.c 4.93 KB