treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / include / asm / sn / klkernvars.h
blobea6b217951636d31ddb338bd6129adead31c2c1c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * File ported from IRIX to Linux by Kanoj Sarcar, 06/08/00.
4 * Copyright 2000 Silicon Graphics, Inc.
5 */
6 #ifndef __ASM_SN_KLKERNVARS_H
7 #define __ASM_SN_KLKERNVARS_H
9 #define KV_MAGIC_OFFSET 0x0
10 #define KV_RO_NASID_OFFSET 0x4
11 #define KV_RW_NASID_OFFSET 0x6
13 #define KV_MAGIC 0x5f4b565f
15 #ifndef __ASSEMBLY__
17 #include <asm/sn/types.h>
19 typedef struct kern_vars_s {
20 int kv_magic;
21 nasid_t kv_ro_nasid;
22 nasid_t kv_rw_nasid;
23 unsigned long kv_ro_baseaddr;
24 unsigned long kv_rw_baseaddr;
25 } kern_vars_t;
27 #endif /* !__ASSEMBLY__ */
29 #endif /* __ASM_SN_KLKERNVARS_H */