From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751875AbcF0CWe (ORCPT ); Sun, 26 Jun 2016 22:22:34 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:42114 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751785AbcF0CWd (ORCPT ); Sun, 26 Jun 2016 22:22:33 -0400 Subject: Re: [RFC PATCH v2 05/26] tools include: Sync math64.h and div64.h To: Nilay Vaish References: <1466940078-65581-1-git-send-email-hekuang@huawei.com> <1466940078-65581-6-git-send-email-hekuang@huawei.com> CC: , , , , , , , , "Linux Kernel list" From: Hekuang Message-ID: <57708D96.5000907@huawei.com> Date: Mon, 27 Jun 2016 10:21:10 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.110.55.166] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.57708DA0.00C1,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ba90aaff2619c0145e5b6ebb19b43a1e Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi 在 2016/6/27 5:08, Nilay Vaish 写道: > On 26 June 2016 at 06:20, He Kuang wrote: >> From: Wang Nan >> >> This patch copies "include/linux/math64.h" into >> "tools/include/linux/math64.h" and copies >> "include/asm-generic/div64.h" into >> "tools/include/asm-generic/div64.h", to enable other libraries use >> arithmetic operation defined in them. > This probably is a newbie question. What prevents us from using the > header files directly? > > -- > Nilay For not being influenced by kernel headers update too much, perf adopts the header files in its own folder. Thank you. >