diff options
author | eric miao <eric.y.miao@gmail.com> | 2008-02-27 02:01:11 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-02-29 22:47:27 +0000 |
commit | ceee4f98f73bb7a1f6ee6710b9ebffd0ecb8c0ca (patch) | |
tree | 621964f6e1e0944740770082a2bb6a1d5037a80d /arch/arm | |
parent | 7a987e82cd9175215dec6339d383d64e551c8899 (diff) | |
download | kernel_samsung_tuna-ceee4f98f73bb7a1f6ee6710b9ebffd0ecb8c0ca.zip kernel_samsung_tuna-ceee4f98f73bb7a1f6ee6710b9ebffd0ecb8c0ca.tar.gz kernel_samsung_tuna-ceee4f98f73bb7a1f6ee6710b9ebffd0ecb8c0ca.tar.bz2 |
[ARM] 4842/1: pxa: remove redundant IRQ saving/restoring in clk_pxa3xx_cken_*
This is unnecessary since it is already protected by
spin_lock_irq{save, restore} in clock.c.
Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/pxa3xx.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index 7cd9ef8..35f25fd 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c @@ -129,28 +129,20 @@ static void clk_pxa3xx_cken_enable(struct clk *clk) { unsigned long mask = 1ul << (clk->cken & 0x1f); - local_irq_disable(); - if (clk->cken < 32) CKENA |= mask; else CKENB |= mask; - - local_irq_enable(); } static void clk_pxa3xx_cken_disable(struct clk *clk) { unsigned long mask = 1ul << (clk->cken & 0x1f); - local_irq_disable(); - if (clk->cken < 32) CKENA &= ~mask; else CKENB &= ~mask; - - local_irq_enable(); } static const struct clkops clk_pxa3xx_cken_ops = { |