mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
1c0040047d
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>
14 lines
287 B
C
14 lines
287 B
C
#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 */
|