aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/perf_event.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-08-16 15:15:14 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-09-01 10:06:08 +0100
commit25d3584797a39f57b69cd835722ac7c41113fb9a (patch)
treeb86ba92c1c31b063248d545808725dc1a65d81ea /arch/arm/include/asm/perf_event.h
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff)
downloadlinux-linaro-stable-25d3584797a39f57b69cd835722ac7c41113fb9a.tar.gz
ARM: 6330/1: perf: reword comments relating to perf_event_do_pending
This is purely a cosmetic change to the ARM perf backend because the current comments about the relationship between NMIs, interrupt context and perf_event_do_pending are misleading. This patch updates the comments so that they reflect what the code actually does (which is in line with other architectures). Acked-by: Jamie Iles <jamie.iles@picochip.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/perf_event.h')
-rw-r--r--arch/arm/include/asm/perf_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/perf_event.h b/arch/arm/include/asm/perf_event.h
index 48837e6d8887..b5799a3b7117 100644
--- a/arch/arm/include/asm/perf_event.h
+++ b/arch/arm/include/asm/perf_event.h
@@ -17,7 +17,7 @@
* counter interrupts are regular interrupts and not an NMI. This
* means that when we receive the interrupt we can call
* perf_event_do_pending() that handles all of the work with
- * interrupts enabled.
+ * interrupts disabled.
*/
static inline void
set_perf_event_pending(void)