diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-02-18 11:58:44 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-02-18 11:58:44 -0500 |
commit | 44f61e6c269e0a85b6cac608c6ee29d3dbbf21ad (patch) | |
tree | d816b63f2e22a62d21c09aeacc01e058c69852a8 /litmus/way_tracker.c | |
parent | 7806057274c493d53a214232d4df6f96aadc7547 (diff) |
Clean this commitwip-mc
Diffstat (limited to 'litmus/way_tracker.c')
-rw-r--r-- | litmus/way_tracker.c | 3 |
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); |