Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754295AbbKLWmP (ORCPT ); Thu, 12 Nov 2015 17:42:15 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36546 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753494AbbKLWmO (ORCPT ); Thu, 12 Nov 2015 17:42:14 -0500 Date: Thu, 12 Nov 2015 14:42:09 -0800 From: Alexei Starovoitov To: Yang Shi Cc: ast@kernel.org, daniel@iogearbox.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linaro-kernel@lists.linaro.org Subject: Re: [PATCH] bpf: samples: exclude asm/sysreg.h for arm64 Message-ID: <20151112224208.GA64046@ast-mbp.thefacebook.com> References: <1447366066-2203-1-git-send-email-yang.shi@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447366066-2203-1-git-send-email-yang.shi@linaro.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 18 On Thu, Nov 12, 2015 at 02:07:46PM -0800, Yang Shi wrote: > commit 338d4f49d6f7114a017d294ccf7374df4f998edc > ("arm64: kernel: Add support for Privileged Access Never") includes sysreg.h > into futex.h and uaccess.h. But, the inline assembly used by asm/sysreg.h is > incompatible with llvm so it will cause BPF samples build failure for ARM64. > Since sysreg.h is useless for BPF samples, just exclude it from Makefile via > defining __ASM_SYSREG_H. > > Signed-off-by: Yang Shi not the prettiest fix, but good enough for sample code. Acked-by: Alexei Starovoitov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/