-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SGI IA64 UV: fix ia64 build error in the linux-next tree
Fix the ia64 build error that occurs in the linux-next tree by introducing an ia64 version of uv.h. Additionally, clean up the usage of is_uv_system(). Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
- Loading branch information
Dean Nelson
authored and
Ingo Molnar
committed
Feb 11, 2009
1 parent
9c8bb6b
commit 1c00400
Showing
4 changed files
with
24 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef _ASM_IA64_UV_UV_H | ||
#define _ASM_IA64_UV_UV_H | ||
|
||
#include <asm/system.h> | ||
#include <asm/sn/simulator.h> | ||
|
||
static inline int is_uv_system(void) | ||
{ | ||
/* temporary support for running on hardware simulator */ | ||
return IS_MEDUSA() || ia64_platform_is("uv"); | ||
} | ||
|
||
#endif /* _ASM_IA64_UV_UV_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ | |
#ifndef __GRU_H__ | ||
#define __GRU_H__ | ||
|
||
#include <asm/uv/uv.h> | ||
|
||
/* | ||
* GRU architectural definitions | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters