| .. | .. |
|---|
| 3 | 3 | * License. See the file "COPYING" in the main directory of this archive |
|---|
| 4 | 4 | * for more details. |
|---|
| 5 | 5 | * |
|---|
| 6 | + * (C) Copyright 2020 Hewlett Packard Enterprise Development LP |
|---|
| 6 | 7 | * Copyright (C) 2004-2008 Silicon Graphics, Inc. All rights reserved. |
|---|
| 7 | 8 | */ |
|---|
| 8 | 9 | |
|---|
| .. | .. |
|---|
| 17 | 18 | |
|---|
| 18 | 19 | #if defined CONFIG_X86_UV || defined CONFIG_IA64_SGI_UV |
|---|
| 19 | 20 | #include <asm/uv/uv.h> |
|---|
| 20 | | -#define is_uv() is_uv_system() |
|---|
| 21 | | -#endif |
|---|
| 22 | | - |
|---|
| 23 | | -#ifndef is_uv |
|---|
| 24 | | -#define is_uv() 0 |
|---|
| 25 | | -#endif |
|---|
| 26 | | - |
|---|
| 27 | | -#if defined CONFIG_IA64 |
|---|
| 28 | | -#include <asm/sn/arch.h> /* defines is_shub1() and is_shub2() */ |
|---|
| 29 | | -#define is_shub() ia64_platform_is("sn2") |
|---|
| 30 | | -#endif |
|---|
| 31 | | - |
|---|
| 32 | | -#ifndef is_shub1 |
|---|
| 33 | | -#define is_shub1() 0 |
|---|
| 34 | | -#endif |
|---|
| 35 | | - |
|---|
| 36 | | -#ifndef is_shub2 |
|---|
| 37 | | -#define is_shub2() 0 |
|---|
| 38 | | -#endif |
|---|
| 39 | | - |
|---|
| 40 | | -#ifndef is_shub |
|---|
| 41 | | -#define is_shub() 0 |
|---|
| 42 | 21 | #endif |
|---|
| 43 | 22 | |
|---|
| 44 | 23 | #ifdef USE_DBUG_ON |
|---|
| .. | .. |
|---|
| 96 | 75 | |
|---|
| 97 | 76 | #define XPC_MSG_SIZE(_payload_size) \ |
|---|
| 98 | 77 | ALIGN(XPC_MSG_HDR_MAX_SIZE + (_payload_size), \ |
|---|
| 99 | | - is_uv() ? 64 : 128) |
|---|
| 78 | + is_uv_system() ? 64 : 128) |
|---|
| 100 | 79 | |
|---|
| 101 | 80 | |
|---|
| 102 | 81 | /* |
|---|
| .. | .. |
|---|
| 360 | 339 | extern int xp_error_PIOR(void); |
|---|
| 361 | 340 | |
|---|
| 362 | 341 | extern struct device *xp; |
|---|
| 363 | | -extern enum xp_retval xp_init_sn2(void); |
|---|
| 364 | 342 | extern enum xp_retval xp_init_uv(void); |
|---|
| 365 | | -extern void xp_exit_sn2(void); |
|---|
| 366 | 343 | extern void xp_exit_uv(void); |
|---|
| 367 | 344 | |
|---|
| 368 | 345 | #endif /* _DRIVERS_MISC_SGIXP_XP_H */ |
|---|