Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751875AbbKPTlV (ORCPT ); Mon, 16 Nov 2015 14:41:21 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:40274 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751301AbbKPTlU (ORCPT ); Mon, 16 Nov 2015 14:41:20 -0500 Date: Mon, 16 Nov 2015 14:41:17 -0500 (EST) Message-Id: <20151116.144117.569968015208709281.davem@davemloft.net> To: yang.shi@linaro.org 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 From: David Miller In-Reply-To: <1447366066-2203-1-git-send-email-yang.shi@linaro.org> References: <1447366066-2203-1-git-send-email-yang.shi@linaro.org> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 16 Nov 2015 11:41:19 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 18 From: Yang Shi Date: Thu, 12 Nov 2015 14:07:46 -0800 > 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 Applied. -- 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/