aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/hw_breakpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/hw_breakpoint.c')
-rw-r--r--kernel/hw_breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/hw_breakpoint.c b/kernel/hw_breakpoint.c
index 48fb0bb6992a..50dbd5999588 100644
--- a/kernel/hw_breakpoint.c
+++ b/kernel/hw_breakpoint.c
@@ -97,7 +97,7 @@ static int task_bp_pinned(struct task_struct *tsk)
97 97
98 list = &ctx->event_list; 98 list = &ctx->event_list;
99 99
100 spin_lock_irqsave(&ctx->lock, flags); 100 raw_spin_lock_irqsave(&ctx->lock, flags);
101 101
102 /* 102 /*
103 * The current breakpoint counter is not included in the list 103 * The current breakpoint counter is not included in the list
@@ -108,7 +108,7 @@ static int task_bp_pinned(struct task_struct *tsk)
108 count++; 108 count++;
109 } 109 }
110 110
111 spin_unlock_irqrestore(&ctx->lock, flags); 111 raw_spin_unlock_irqrestore(&ctx->lock, flags);
112 112
113 return count; 113 return count;
114} 114}