Commit be149452 authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds

cris v32: typo in crisv32_arbiter_unwatch()?

With id 1 the wrong bp was unwatched.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cda1c5af
...@@ -332,7 +332,7 @@ int crisv32_arbiter_unwatch(int id) ...@@ -332,7 +332,7 @@ int crisv32_arbiter_unwatch(int id)
if (id == 0) if (id == 0)
intr_mask.bp0 = regk_marb_no; intr_mask.bp0 = regk_marb_no;
else if (id == 1) else if (id == 1)
intr_mask.bp2 = regk_marb_no; intr_mask.bp1 = regk_marb_no;
else if (id == 2) else if (id == 2)
intr_mask.bp2 = regk_marb_no; intr_mask.bp2 = regk_marb_no;
else if (id == 3) else if (id == 3)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment