]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sgi-xp: define is_shub() and is_uv() macros
authorDean Nelson <dcn@sgi.com>
Wed, 30 Jul 2008 05:34:02 +0000 (22:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:48 +0000 (09:41 -0700)
Define the is_shub()/is_uv() macros if they've not already been defined.

Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-xp/xp.h

index 03a87a307e321f0ac2ae3dffd2a16cef7baa03f5..83627eac4128d7b39a23bda565750332ad5fce06 100644 (file)
 #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