From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10615 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 5/7] add bits/hwcap.h and include it in sys/auxv.h Date: Sun, 9 Oct 2016 20:32:57 +0200 Message-ID: <20161009183257.GJ28065@port70.net> References: <20161009165739.GB28065@port70.net> <20161009170137.GG28065@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1476038008 14004 195.159.176.226 (9 Oct 2016 18:33:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2016 18:33:28 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) Cc: musl@lists.openwall.com To: Hauke Mehrtens Original-X-From: musl-return-10628-gllmg-musl=m.gmane.org@lists.openwall.com Sun Oct 09 20:33:24 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1btIuL-0001Ns-9u for gllmg-musl@m.gmane.org; Sun, 09 Oct 2016 20:33:09 +0200 Original-Received: (qmail 32322 invoked by uid 550); 9 Oct 2016 18:33:09 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 32304 invoked from network); 9 Oct 2016 18:33:09 -0000 Mail-Followup-To: Hauke Mehrtens , musl@lists.openwall.com Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:10615 Archived-At: * Hauke Mehrtens [2016-10-09 19:24:13 +0200]: > On 10/09/2016 07:01 PM, Szabolcs Nagy wrote: > > aarch64, arm, powerpc, powerpc64 and sh have cpu feature bits defined > > in linux for AT_HWCAP auxv entry, so expose those in sys/auxv.h > > --- > > arch/aarch64/bits/hwcap.h | 11 +++++++++++ > > arch/arm/bits/hwcap.h | 29 +++++++++++++++++++++++++++++ > > arch/generic/bits/hwcap.h | 0 > > arch/powerpc/bits/hwcap.h | 40 ++++++++++++++++++++++++++++++++++++++++ > > arch/powerpc64/bits/hwcap.h | 40 ++++++++++++++++++++++++++++++++++++++++ > > arch/sh/bits/hwcap.h | 11 +++++++++++ > > include/sys/auxv.h | 1 + > > 7 files changed, 132 insertions(+) > > create mode 100644 arch/aarch64/bits/hwcap.h > > create mode 100644 arch/arm/bits/hwcap.h > > create mode 100644 arch/generic/bits/hwcap.h > > create mode 100644 arch/powerpc/bits/hwcap.h > > create mode 100644 arch/powerpc64/bits/hwcap.h > > create mode 100644 arch/sh/bits/hwcap.h > > > > Hi, > > shouldn't this also be added for MIPS? This commit added a file called > hwcap.h: > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e14f1db7a61f016d74393ca9e8fc49a91d27f603 > that commit seems to failed to add it to Kbuild so it is never installed (i checked installed uapi headers only because looking at the kernel source tricked me previously) but i guess the intention is clear in this case so we can add it..