ANDROID: Removed check for asm-goto

Cherry pick was manually applied due to conflicts with
upstream commits: e9666d10a5 and 829fe4aa9a
--------
Revert "x86: Force asm-goto"

This reverts commit e501ce957a.

This change broke building the x86_64 kernel with clang. The kernel
still builds and works fine without asm-goto support. Revert this
change to unblock testing clang kernels on cuttlefish.

Bug: 118142806
Bug: 120440614
Bug: 132629930
Change-Id: Ib32498acc0596264f8cd15de0b603579dd643dd7
Signed-off-by: Alistair Strachan <astrachan@google.com>
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
This commit is contained in:
Alistair Strachan 2018-10-24 13:58:11 -07:00 committed by Ram Muthiah
parent 60f8cf9e65
commit 7eb28048b0

View File

@ -297,10 +297,6 @@ vdso_install:
archprepare: checkbin
checkbin:
ifndef CONFIG_CC_HAS_ASM_GOTO
@echo Compiler lacks asm-goto support.
@exit 1
endif
ifdef CONFIG_RETPOLINE
ifeq ($(RETPOLINE_CFLAGS),)
@echo "You are building kernel with non-retpoline compiler." >&2