[<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