Blackfin: Rename IRQ flags handling functions
commit3b139cdb373282dfa72316aa56887371e97cafe8
authorDavid Howells <dhowells@redhat.com>
Thu, 7 Oct 2010 13:08:52 +0000 (7 14:08 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 7 Oct 2010 13:08:52 +0000 (7 14:08 +0100)
treec8755b136c0787011409d6f8116d5493406d0b55
parent5c74874bc9a838b185fe463153e63f7d895ebb77
Blackfin: Rename IRQ flags handling functions

Rename h/w IRQ flags handling functions to be in line with what is expected for
the irq renaming patch.  This renames local_*_hw() to hard_local_*() using the
following perl command:

perl -pi -e 's/local_irq_(restore|enable|disable)_hw/hard_local_irq_\1/ or s/local_irq_save_hw([_a-z]*)[(]flags[)]/flags = hard_local_irq_save\1()/' `find arch/blackfin/ -name "*.[ch]"`

and then fixing up asm/irqflags.h manually.

Additionally, arch/hard_local_save_flags() and arch/hard_local_irq_save() both
return the flags rather than passing it through the argument list.

Signed-off-by: David Howells <dhowells@redhat.com>
19 files changed:
arch/blackfin/include/asm/ipipe.h
arch/blackfin/include/asm/irqflags.h
arch/blackfin/include/asm/mmu_context.h
arch/blackfin/include/asm/system.h
arch/blackfin/kernel/bfin_gpio.c
arch/blackfin/kernel/cplb-mpu/cplbmgr.c
arch/blackfin/kernel/ipipe.c
arch/blackfin/kernel/process.c
arch/blackfin/mach-bf518/include/mach/pll.h
arch/blackfin/mach-bf527/include/mach/pll.h
arch/blackfin/mach-bf533/include/mach/fio_flag.h
arch/blackfin/mach-bf533/include/mach/pll.h
arch/blackfin/mach-bf537/include/mach/pll.h
arch/blackfin/mach-bf538/include/mach/pll.h
arch/blackfin/mach-bf548/include/mach/pll.h
arch/blackfin/mach-bf561/include/mach/pll.h
arch/blackfin/mach-common/cpufreq.c
arch/blackfin/mach-common/ints-priority.c
arch/blackfin/mach-common/pm.c