File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ EXPORT_SYMBOL(vmemmap_base);
69
69
/*
70
70
* GDT used on the boot CPU before switching to virtual addresses.
71
71
*/
72
- static struct desc_struct startup_gdt [GDT_ENTRIES ] = {
72
+ static struct desc_struct startup_gdt [GDT_ENTRIES ] __initdata = {
73
73
[GDT_ENTRY_KERNEL32_CS ] = GDT_ENTRY_INIT (0xc09b , 0 , 0xfffff ),
74
74
[GDT_ENTRY_KERNEL_CS ] = GDT_ENTRY_INIT (0xa09b , 0 , 0xfffff ),
75
75
[GDT_ENTRY_KERNEL_DS ] = GDT_ENTRY_INIT (0xc093 , 0 , 0xfffff ),
@@ -79,7 +79,7 @@ static struct desc_struct startup_gdt[GDT_ENTRIES] = {
79
79
* Address needs to be set at runtime because it references the startup_gdt
80
80
* while the kernel still uses a direct mapping.
81
81
*/
82
- static struct desc_ptr startup_gdt_descr = {
82
+ static struct desc_ptr startup_gdt_descr __initdata = {
83
83
.size = sizeof (startup_gdt )- 1 ,
84
84
.address = 0 ,
85
85
};
You can’t perform that action at this time.
0 commit comments