From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10614 Path: news.gmane.org!.POSTED!not-for-mail From: Hauke Mehrtens 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 19:24:13 +0200 Message-ID: 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=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1476033881 12080 195.159.176.226 (9 Oct 2016 17:24:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2016 17:24:41 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.3.0 To: musl@lists.openwall.com Original-X-From: musl-return-10627-gllmg-musl=m.gmane.org@lists.openwall.com Sun Oct 09 19:24:34 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 1btHpx-00022c-Ee for gllmg-musl@m.gmane.org; Sun, 09 Oct 2016 19:24:33 +0200 Original-Received: (qmail 30217 invoked by uid 550); 9 Oct 2016 17:24:33 -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 30183 invoked from network); 9 Oct 2016 17:24:33 -0000 In-Reply-To: <20161009170137.GG28065@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:10614 Archived-At: 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 Hauke