Revert "ANDROID: x86: Remove a useless warning message"

This reverts commit 1f1098e0a3.

Signed-off-by: Matthias Maennich <maennich@google.com>
This commit is contained in:
Matthias Maennich 2019-10-25 17:28:28 +01:00
parent 649238947d
commit 0a39c7fe72

View File

@ -154,6 +154,9 @@ extern void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int bit);
* Workaround for the sake of BPF compilation which utilizes kernel
* headers, but clang does not support ASM GOTO and fails the build.
*/
#ifndef __BPF_TRACING__
#warning "Compiler lacks ASM_GOTO support. Add -D __BPF_TRACING__ to your compiler arguments"
#endif
#define static_cpu_has(bit) boot_cpu_has(bit)