Skip to content

Commit

Permalink
sgi-xp: define is_shub() and is_uv() macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dean Nelson authored and Linus Torvalds committed Jul 30, 2008
1 parent 9ca8e40 commit 355c54d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions drivers/misc/sgi-xp/xp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 355c54d

Please sign in to comment.