aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/way_tracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/way_tracker.c')
-rw-r--r--litmus/way_tracker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/litmus/way_tracker.c b/litmus/way_tracker.c
index a9e8ef62f37..ff392ab09c4 100644
--- a/litmus/way_tracker.c
+++ b/litmus/way_tracker.c
@@ -6,6 +6,7 @@
6#include <linux/bitops.h> 6#include <linux/bitops.h>
7#include <linux/slab.h> 7#include <linux/slab.h>
8#include <linux/list.h> 8#include <linux/list.h>
9#include <linux/kgdb.h>
9 10
10#include <litmus/litmus.h> 11#include <litmus/litmus.h>
11#include <litmus/color.h> 12#include <litmus/color.h>
@@ -38,7 +39,9 @@ static int take_next_way(unsigned int color)
38 clear_bit(idx, &ways[color]); 39 clear_bit(idx, &ways[color]);
39 TRACE("Took, now %lu free of color %d\n", hweight_long(ways[color]), color); 40 TRACE("Took, now %lu free of color %d\n", hweight_long(ways[color]), color);
40 } else { 41 } else {
42 printk(KERN_WARNING "Vury bad\n");
41 /* Seriously bad. */ 43 /* Seriously bad. */
44 kgdb_breakpoint();
42 BUG(); 45 BUG();
43 } 46 }
44 raw_spin_unlock(&lock); 47 raw_spin_unlock(&lock);