From dd2ba7c330fdc9d18bbef5033c7e4e887a70c4f8 Mon Sep 17 00:00:00 2001 From: Dean Nelson Date: Tue, 29 Jul 2008 22:34:02 -0700 Subject: [PATCH] --- yaml --- r: 107049 b: refs/heads/master c: 355c54d2e70093f09910d2ecf343023aefc219e1 h: refs/heads/master i: 107047: 7ae8865c984de54398ea67eb3b8bd1372c4848aa v: v3 --- [refs] | 2 +- trunk/drivers/misc/sgi-xp/xp.h | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7cbf368ba225..c19690a77bb3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9ca8e40c130c906c1060d105e63628410c860261 +refs/heads/master: 355c54d2e70093f09910d2ecf343023aefc219e1 diff --git a/trunk/drivers/misc/sgi-xp/xp.h b/trunk/drivers/misc/sgi-xp/xp.h index 03a87a307e32..83627eac4128 100644 --- a/trunk/drivers/misc/sgi-xp/xp.h +++ b/trunk/drivers/misc/sgi-xp/xp.h @@ -25,6 +25,22 @@ #define DBUG_ON(condition) #endif +#ifndef is_shub1 +#define is_shub1() 0 +#endif + +#ifndef is_shub2 +#define is_shub2() 0 +#endif + +#ifndef is_shub +#define is_shub() (is_shub1() || is_shub2()) +#endif + +#ifndef is_uv +#define is_uv() 0 +#endif + /* * Define the maximum number of logically defined partitions the system * can support. It is constrained by the maximum number of hardware