treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sparc / mm / init_64.h
blobd920a75b5f14143da8fb3b494ede77210b2291b0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _SPARC64_MM_INIT_H
3 #define _SPARC64_MM_INIT_H
5 #include <asm/page.h>
7 /* Most of the symbols in this file are defined in init.c and
8 * marked non-static so that assembler code can get at them.
9 */
11 #define MAX_PHYS_ADDRESS (1UL << MAX_PHYS_ADDRESS_BITS)
13 extern unsigned long kern_linear_pte_xor[4];
14 extern unsigned int sparc64_highest_unlocked_tlb_ent;
15 extern unsigned long sparc64_kern_pri_context;
16 extern unsigned long sparc64_kern_pri_nuc_bits;
17 extern unsigned long sparc64_kern_sec_context;
18 void mmu_info(struct seq_file *m);
20 struct linux_prom_translation {
21 unsigned long virt;
22 unsigned long size;
23 unsigned long data;
26 /* Exported for kernel TLB miss handling in ktlb.S */
27 extern struct linux_prom_translation prom_trans[512];
28 extern unsigned int prom_trans_ents;
30 /* Exported for SMP bootup purposes. */
31 extern unsigned long kern_locked_tte_data;
33 void prom_world(int enter);
35 #endif /* _SPARC64_MM_INIT_H */