License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / sparc / mm / init_64.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
af1ee569
DM
2#ifndef _SPARC64_MM_INIT_H
3#define _SPARC64_MM_INIT_H
4
bb7b4353
DM
5#include <asm/page.h>
6
af1ee569
DM
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 */
10
bb7b4353 11#define MAX_PHYS_ADDRESS (1UL << MAX_PHYS_ADDRESS_BITS)
af1ee569 12
4f93d21d 13extern unsigned long kern_linear_pte_xor[4];
af1ee569
DM
14extern unsigned int sparc64_highest_unlocked_tlb_ent;
15extern unsigned long sparc64_kern_pri_context;
16extern unsigned long sparc64_kern_pri_nuc_bits;
17extern unsigned long sparc64_kern_sec_context;
2e74a74f 18void mmu_info(struct seq_file *m);
af1ee569
DM
19
20struct linux_prom_translation {
21 unsigned long virt;
22 unsigned long size;
23 unsigned long data;
24};
25
26/* Exported for kernel TLB miss handling in ktlb.S */
27extern struct linux_prom_translation prom_trans[512];
28extern unsigned int prom_trans_ents;
29
30/* Exported for SMP bootup purposes. */
31extern unsigned long kern_locked_tte_data;
32
2e74a74f 33void prom_world(int enter);
af1ee569 34
af1ee569 35#endif /* _SPARC64_MM_INIT_H */