Skip to contentSkip to conversation

x86/boot: Fix incorrect ifdeffery scope

PATCH Superseded Baoquan He 2 participants 3 messages Mar 4, 2019 x86

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Baoquan He

author
#0 lore raw

PATCH 1/1 x86/boot: Fix incorrect ifdeffery scope

The declarations related to immovable memory handling are put out of

---
 arch/x86/boot/compressed/misc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/boot/compressed/misc.h +2 -2
index fd13655e0f9b..8bbaf362855c 100644
@@ -120,8 +120,6 @@ static inline void console_init(void)
 
 void set_sev_encryption_mask(void);
 
-#endif
-
 /* acpi.c */
 #ifdef CONFIG_ACPI
 acpi_physical_address get_rsdp_addr(void);
@@ -135,3 +133,5 @@ int count_immovable_mem_regions(void);
 #else
 static inline int count_immovable_mem_regions(void) { return 0; }
 #endif
+
+#endif
Signature · 1 line
2.17.2
#1 lore raw
Quoted 3 lines · Baoquan He

The declarations related to immovable memory handling are put out of

Are there some problems in your mail tool?
I can only see one line in the PATCH log and seems a half sentence.

Thanks,
Chao Fan

Quoted 28 lines

---
arch/x86/boot/compressed/misc.h | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/boot/compressed/misc.h +2 -2
index fd13655e0f9b..8bbaf362855c 100644
@@ -120,8 +120,6 @@ static inline void console_init(void)
 
 void set_sev_encryption_mask(void);
 
-#endif
-
 /* acpi.c */
 #ifdef CONFIG_ACPI
 acpi_physical_address get_rsdp_addr(void);
@@ -135,3 +133,5 @@ int count_immovable_mem_regions(void);
 #else
 static inline int count_immovable_mem_regions(void) { return 0; }
 #endif
+
+#endif
Signature · 1 line
2.17.2
author
#2 lore raw
Quoted 7 lines · Chao Fan
Quoted 3 lines · Baoquan He

The declarations related to immovable memory handling are put out of

Are there some problems in your mail tool?
I can only see one line in the PATCH log and seems a half sentence.

Yeah, just notice it. I will send a new one. Sorry.