Skip to content

Commit

Permalink
ARM: Do not allow the probing of the local timer
Browse files Browse the repository at this point in the history
Since this IRQ descriptor doesn't have an action registered, it is
allowed for probing via probe_irq_on/off() and it will be disabled by
the latter function. This patch sets the IRQ_NOPROBE status bit for the
local timer descriptor.

Signed-off-by: Varun Swara <Varun.Swara@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
  • Loading branch information
Varun Swara authored and Catalin Marinas committed Dec 9, 2009
1 parent 93fd03a commit 10b4968
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/kernel/smp_twd.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ void __cpuinit twd_timer_setup(struct clock_event_device *clk)

/* Make sure our local interrupt controller has this enabled */
local_irq_save(flags);
irq_to_desc(clk->irq)->status |= IRQ_NOPROBE;
get_irq_chip(clk->irq)->unmask(clk->irq);
local_irq_restore(flags);

Expand Down

0 comments on commit 10b4968

Please sign in to comment.