lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMe9rOqpGVq3D88w+D15ef7sv6G6k57ZeTvxBm46=WFgzo9p1w@mail.gmail.com>
Date:	Tue, 17 Mar 2015 15:33:43 -0700
From:	"H.J. Lu" <hjl.tools@...il.com>
To:	Adrian Hunter <adrian.hunter@...el.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Namhyung Kim <namhyung@...nel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] Check ARCH and IS_64_BIT instead of IS_X86_64 in perf

IS_X86_64 is never defined nor necessary.  We check check ARCH and
IS_64_BIT instead.

ifeq ($(IS_X86_64),1)

can be replaced by

ifeq ($(ARCH)$(IS_64_BIT), x861)

If IS_64_BIT is 1, we can replace

ifneq (${IS_X86_64}, 1)

with

ifneq ($(ARCH), x86)


-- 
H.J.

View attachment "0001-Check-ARCH-and-IS_64_BIT-instead-of-IS_X86_64-in-per.patch" of type "text/x-patch" (1613 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ