diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-09 16:41:44 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-09 16:41:44 -0500 |
commit | a8a525979835517c0a13361bf35cab4e4d1b37ad (patch) | |
tree | ea336e733cf344296441fc79f749c042d1fb54f4 | |
parent | a22adccaad686956bc8bca764082ba21ffe91f8d (diff) |
cli() and sti() depend on asm/irq.h
-rw-r--r-- | bin/cache_cost.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/cache_cost.c b/bin/cache_cost.c index 2b804a8..a33c1a0 100644 --- a/bin/cache_cost.c +++ b/bin/cache_cost.c | |||
@@ -13,6 +13,11 @@ | |||
13 | #include "litmus.h" | 13 | #include "litmus.h" |
14 | #include "asm/cycles.h" | 14 | #include "asm/cycles.h" |
15 | 15 | ||
16 | #if defined(__i386__) || defined(__x86_64__) | ||
17 | #include "asm/irq.h" | ||
18 | #endif | ||
19 | |||
20 | |||
16 | static void die(char *error) | 21 | static void die(char *error) |
17 | { | 22 | { |
18 | fprintf(stderr, "Error: %s (errno: %m)\n", | 23 | fprintf(stderr, "Error: %s (errno: %m)\n", |