summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-22 12:45:29 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-09-25 11:27:22 +0800
commit3a25073a40e0351375c2784c1cdc2a2b327bb4c3 (patch)
tree1c583a15009e3b01da35d505a9f4964c77f3e636 /arch
parent7c73cea44290a5779bfcaafe6d7a1dbf6fbc1b1d (diff)
downloadu-boot-3a25073a40e0351375c2784c1cdc2a2b327bb4c3.tar.gz
x86: Correct the assembly guard in e820.h
This is currently in the wrong place, so including the file in the device tree fails. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/e820.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/e820.h b/arch/x86/include/asm/e820.h
index d7f8a4ba1d..a66c0d2489 100644
--- a/arch/x86/include/asm/e820.h
+++ b/arch/x86/include/asm/e820.h
@@ -22,10 +22,9 @@ struct e820_entry {
#define ISA_START_ADDRESS 0xa0000
#define ISA_END_ADDRESS 0x100000
-#endif /* __ASSEMBLY__ */
-
/* Implementation defined function to install an e820 map */
unsigned int install_e820_map(unsigned int max_entries,
struct e820_entry *);
+#endif /* __ASSEMBLY__ */
#endif /* _ASM_X86_E820_H */