summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/irq.h')
-rw-r--r--arch/i386/kernel/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/irq.h b/arch/i386/kernel/irq.h
index 6a19d9884..1023cd4da 100644
--- a/arch/i386/kernel/irq.h
+++ b/arch/i386/kernel/irq.h
@@ -238,7 +238,7 @@ SYMBOL_NAME_STR(IRQ) #nr "_interrupt:\n\t" \
*/
static inline void x86_do_profile (unsigned long eip)
{
- if (prof_buffer && current->pid) {
+ if (prof_buffer) {
eip -= (unsigned long) &_stext;
eip >>= prof_shift;
/*