cris v32: typo in crisv32_arbiter_unwatch()?
Roel Kluin [Fri, 5 Mar 2010 21:42:33 +0000 (13:42 -0800)]
With id 1 the wrong bp was unwatched.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

arch/cris/arch-v32/mach-fs/arbiter.c

index 84d31bd..82ef293 100644 (file)
@@ -332,7 +332,7 @@ int crisv32_arbiter_unwatch(int id)
        if (id == 0)
                intr_mask.bp0 = regk_marb_no;
        else if (id == 1)
-               intr_mask.bp2 = regk_marb_no;
+               intr_mask.bp1 = regk_marb_no;
        else if (id == 2)
                intr_mask.bp2 = regk_marb_no;
        else if (id == 3)