misc.h (64e682638eb51070ba6044535b250aad43c5564e) misc.h (5f2bb01682b7b067783207994c7b8a3dbeb1cd83)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef BOOT_COMPRESSED_MISC_H
3#define BOOT_COMPRESSED_MISC_H
4
5/*
6 * Special hack: we have to be careful, because no indirections are allowed here,
7 * and paravirt_ops is a kind of one. As it will only run in baremetal anyway,
8 * we just keep it from happening. (This list needs to be extended when new

--- 120 unchanged lines hidden (view full) ---

129
130#if defined(CONFIG_RANDOMIZE_BASE) && defined(CONFIG_MEMORY_HOTREMOVE) && defined(CONFIG_ACPI)
131extern struct mem_vector immovable_mem[MAX_NUMNODES*2];
132int count_immovable_mem_regions(void);
133#else
134static inline int count_immovable_mem_regions(void) { return 0; }
135#endif
136
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef BOOT_COMPRESSED_MISC_H
3#define BOOT_COMPRESSED_MISC_H
4
5/*
6 * Special hack: we have to be careful, because no indirections are allowed here,
7 * and paravirt_ops is a kind of one. As it will only run in baremetal anyway,
8 * we just keep it from happening. (This list needs to be extended when new

--- 120 unchanged lines hidden (view full) ---

129
130#if defined(CONFIG_RANDOMIZE_BASE) && defined(CONFIG_MEMORY_HOTREMOVE) && defined(CONFIG_ACPI)
131extern struct mem_vector immovable_mem[MAX_NUMNODES*2];
132int count_immovable_mem_regions(void);
133#else
134static inline int count_immovable_mem_regions(void) { return 0; }
135#endif
136
137/* ident_map_64.c */
138#ifdef CONFIG_X86_5LEVEL
139extern unsigned int __pgtable_l5_enabled, pgdir_shift, ptrs_per_p4d;
140#endif
141
142/* Used by PAGE_KERN* macros: */
143extern pteval_t __default_kernel_pte_mask;
144
137/* idt_64.c */
138extern gate_desc boot_idt[BOOT_IDT_ENTRIES];
139extern struct desc_ptr boot_idt_desc;
140
141#endif /* BOOT_COMPRESSED_MISC_H */
145/* idt_64.c */
146extern gate_desc boot_idt[BOOT_IDT_ENTRIES];
147extern struct desc_ptr boot_idt_desc;
148
149#endif /* BOOT_COMPRESSED_MISC_H */