Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753594AbbETMY4 (ORCPT ); Wed, 20 May 2015 08:24:56 -0400 Received: from terminus.zytor.com ([198.137.202.10]:56758 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752459AbbETMY0 (ORCPT ); Wed, 20 May 2015 08:24:26 -0400 Date: Wed, 20 May 2015 05:23:46 -0700 From: tip-bot for Wang Nan Message-ID: Cc: wangnan0@huawei.com, a.p.zijlstra@chello.nl, daniel@iogearbox.net, ast@plumgrid.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, adrian.hunter@intel.com, paulus@samba.org, dsahern@gmail.com, acme@redhat.com, brendan.d.gregg@gmail.com, namhyung@kernel.org, hpa@zytor.com, masami.hiramatsu.pt@hitachi.com, lizefan@huawei.com, mingo@kernel.org, jolsa@kernel.org Reply-To: adrian.hunter@intel.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, ast@plumgrid.com, acme@redhat.com, brendan.d.gregg@gmail.com, dsahern@gmail.com, paulus@samba.org, daniel@iogearbox.net, a.p.zijlstra@chello.nl, wangnan0@huawei.com, lizefan@huawei.com, jolsa@kernel.org, mingo@kernel.org, hpa@zytor.com, masami.hiramatsu.pt@hitachi.com, namhyung@kernel.org In-Reply-To: <1431676290-1230-5-git-send-email-wangnan0@huawei.com> References: <1431676290-1230-5-git-send-email-wangnan0@huawei.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] tools include: add __aligned_u64 to types.h. Git-Commit-ID: 70ba6b8f975bcff56e180e2c7550d2302fcbf923 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1898 Lines: 52 Commit-ID: 70ba6b8f975bcff56e180e2c7550d2302fcbf923 Gitweb: http://git.kernel.org/tip/70ba6b8f975bcff56e180e2c7550d2302fcbf923 Author: Wang Nan AuthorDate: Fri, 15 May 2015 07:50:57 +0000 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 18 May 2015 10:17:32 -0300 tools include: add __aligned_u64 to types.h. Following patches will introduce linux/bpf.h to a new libbpf library, which requires definition of __aligned_u64. This patch add it to the common types.h for tools. Signed-off-by: Wang Nan Cc: Adrian Hunter Cc: Alexei Starovoitov Cc: Brendan Gregg Cc: Daniel Borkmann Cc: David Ahern Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: pi3orama@163.com Cc: Zefan Li Link: http://lkml.kernel.org/r/1431676290-1230-5-git-send-email-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/include/linux/types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h index 0bdeda6..8ebf627 100644 --- a/tools/include/linux/types.h +++ b/tools/include/linux/types.h @@ -64,6 +64,10 @@ typedef struct { int counter; } atomic_t; +#ifndef __aligned_u64 +# define __aligned_u64 __u64 __attribute__((aligned(8))) +#endif + struct list_head { struct list_head *next, *prev; }; -- 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/