File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ vmlinux-objs-$(CONFIG_RANDOMIZE_BASE) += $(obj)/kaslr.o
100
100
ifdef CONFIG_X86_64
101
101
vmlinux-objs-y += $(obj)/ident_map_64.o
102
102
vmlinux-objs-y += $(obj)/idt_64.o $(obj)/idt_handlers_64.o
103
- vmlinux-objs-y += $(obj)/mem_encrypt.o
103
+ vmlinux-objs-$(CONFIG_AMD_MEM_ENCRYPT) += $(obj)/mem_encrypt.o
104
104
vmlinux-objs-y += $(obj)/pgtable_64.o
105
105
vmlinux-objs-$(CONFIG_AMD_MEM_ENCRYPT) += $(obj)/sev.o
106
106
endif
Original file line number Diff line number Diff line change @@ -307,7 +307,6 @@ SYM_FUNC_END(startup32_check_sev_cbit)
307
307
308
308
.data
309
309
310
- #ifdef CONFIG_AMD_MEM_ENCRYPT
311
310
.balign 8
312
311
SYM_DATA(sme_me_mask, .quad 0 )
313
312
SYM_DATA(sev_status, .quad 0 )
@@ -323,4 +322,3 @@ SYM_DATA_START_LOCAL(boot32_idt_desc)
323
322
.word . - boot32_idt - 1
324
323
.long 0
325
324
SYM_DATA_END(boot32_idt_desc)
326
- #endif
You can’t perform that action at this time.
0 commit comments