summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/global_data.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-05-27 21:04:23 +0300
committerTom Rini <trini@konsulko.com>2020-07-08 01:23:48 +0300
commitb87d8d6a0e0c5c37b341c20284ef1c43601cc9c8 (patch)
tree8aee852a58d9315c54f941f354b641be7824fdb0 /arch/arm/include/asm/global_data.h
parent7f642cb287ee046e1c2a0a244fd924c664f48d67 (diff)
downloadu-boot-b87d8d6a0e0c5c37b341c20284ef1c43601cc9c8.tar.xz
arm: remove outdated comment concerning -ffixed-x18
Clang 9 supports -ffixed-x18. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/global_data.h')
-rw-r--r--arch/arm/include/asm/global_data.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index 7c0905d240..2aafc6d206 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -96,10 +96,6 @@ static inline gd_t *get_gd(void)
gd_t *gd_ptr;
#ifdef CONFIG_ARM64
- /*
- * Make will already error that reserving x18 is not supported at the
- * time of writing, clang: error: unknown argument: '-ffixed-x18'
- */
__asm__ volatile("mov %0, x18\n" : "=r" (gd_ptr));
#else
__asm__ volatile("mov %0, r9\n" : "=r" (gd_ptr));