File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
#ifndef _ASM_X86_INIT_H
3
3
#define _ASM_X86_INIT_H
4
4
5
+ #define __head __section(".head.text")
6
+
5
7
struct x86_mapping_info {
6
8
void * (* alloc_pgt_page )(void * ); /* allocate buf for page table */
7
9
void * context ; /* context for alloc_pgt_page */
Original file line number Diff line number Diff line change 41
41
#include <asm/trapnr.h>
42
42
#include <asm/sev.h>
43
43
#include <asm/tdx.h>
44
+ #include <asm/init.h>
44
45
45
46
/*
46
47
* Manage page tables very early on.
@@ -84,8 +85,6 @@ static struct desc_ptr startup_gdt_descr __initdata = {
84
85
.address = 0 ,
85
86
};
86
87
87
- #define __head __section(".head.text")
88
-
89
88
static void __head * fixup_pointer (void * ptr , unsigned long physaddr )
90
89
{
91
90
return ptr - (void * )_text + (void * )physaddr ;
You can’t perform that action at this time.
0 commit comments