cris v32: typo in crisv32_arbiter_unwatch()?
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 5 Mar 2010 21:42:33 +0000 (13:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:28 +0000 (11:26 -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 84d31bd7b692a04167804d436cd67e9e1eb047aa..82ef293c4c816bfacfe6bf3fb8df8d8892427be7 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)