diff options
-rw-r--r-- | drivers/misc/sgi-xp/xp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h index 03a87a307e32..83627eac4128 100644 --- a/drivers/misc/sgi-xp/xp.h +++ b/drivers/misc/sgi-xp/xp.h | |||
@@ -25,6 +25,22 @@ | |||
25 | #define DBUG_ON(condition) | 25 | #define DBUG_ON(condition) |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #ifndef is_shub1 | ||
29 | #define is_shub1() 0 | ||
30 | #endif | ||
31 | |||
32 | #ifndef is_shub2 | ||
33 | #define is_shub2() 0 | ||
34 | #endif | ||
35 | |||
36 | #ifndef is_shub | ||
37 | #define is_shub() (is_shub1() || is_shub2()) | ||
38 | #endif | ||
39 | |||
40 | #ifndef is_uv | ||
41 | #define is_uv() 0 | ||
42 | #endif | ||
43 | |||
28 | /* | 44 | /* |
29 | * Define the maximum number of logically defined partitions the system | 45 | * Define the maximum number of logically defined partitions the system |
30 | * can support. It is constrained by the maximum number of hardware | 46 | * can support. It is constrained by the maximum number of hardware |