diff options
Diffstat (limited to 'kernel/hw_breakpoint.c')
-rw-r--r-- | kernel/hw_breakpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/hw_breakpoint.c b/kernel/hw_breakpoint.c index 366eedf949c0..dbcbf6a33a08 100644 --- a/kernel/hw_breakpoint.c +++ b/kernel/hw_breakpoint.c | |||
@@ -96,7 +96,7 @@ static int task_bp_pinned(struct task_struct *tsk) | |||
96 | 96 | ||
97 | list = &ctx->event_list; | 97 | list = &ctx->event_list; |
98 | 98 | ||
99 | spin_lock_irqsave(&ctx->lock, flags); | 99 | raw_spin_lock_irqsave(&ctx->lock, flags); |
100 | 100 | ||
101 | /* | 101 | /* |
102 | * The current breakpoint counter is not included in the list | 102 | * The current breakpoint counter is not included in the list |
@@ -107,7 +107,7 @@ static int task_bp_pinned(struct task_struct *tsk) | |||
107 | count++; | 107 | count++; |
108 | } | 108 | } |
109 | 109 | ||
110 | spin_unlock_irqrestore(&ctx->lock, flags); | 110 | raw_spin_unlock_irqrestore(&ctx->lock, flags); |
111 | 111 | ||
112 | return count; | 112 | return count; |
113 | } | 113 | } |