Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1169880

[PATCH 08/12] x86/compat/perf: perf_callchain_user32 is only for 32-bit compat

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Brian Gerst <brgerst@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 08/12] x86/compat/perf: perf_callchain_user32 is only for 32-bit compat
Date Mon, 22 Jun 2015 14:00:03 +0200
Message-ID <pE8yn-2Mp-29@gated-at.bofh.it> (permalink)
References <pE8ym-2Mp-5@gated-at.bofh.it>
X-Original-To x86@kernel.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ku++V/SMX2wiXniOuN8HJK1vFqludxNFZ7fM6YwIVJQ=; b=CqhGU0h5LcEQoWywGICuYdRvsarO6E+2oVmjWHkWhsikrJDs5eJRrn6nPgbmRWU6Cn Xbg2o15NPgYW62flsQwo9w75gdvSDmQMJpzQus+cTP5tD/2mYa4pxh9nP9tYsTsBQdJU LHEt8yplxSZnH2C3dEGJsi633f6wgzcHeYayYK8SF40x/K7fTVC7CNIf4cGipB9+05zK xC7OoBn1bp0xbQ45ufS2N2tvx3SYaPdxeppqSZ/ZiH0qqDrq8T1tIMXByYZN+d/ZhwHS Iv8gDoJZF4ApDssIJosIVqWUFddsAd1ZlKoqbqjsA892LHW76ZW6D1Ad4E2kTI5QzeqU kCfw==
X-Received by 10.129.108.12 with SMTP id h12mr35904905ywc.161.1434974148329; Mon, 22 Jun 2015 04:55:48 -0700 (PDT)
X-Mailer git-send-email 2.1.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, Ingo Molnar <mingo@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>, Denys Vlasenko <dvlasenk@redhat.com>, Andy Lutomirski <luto@amacapital.net>
X-Original-Date Mon, 22 Jun 2015 07:55:17 -0400
X-Original-Message-ID <1434974121-32575-9-git-send-email-brgerst@gmail.com>
X-Original-References <1434974121-32575-1-git-send-email-brgerst@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1169880

Show key headers only | View raw


perf_callchain_user32() is not needed for x32.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
---
 arch/x86/kernel/cpu/perf_event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index 5801a14..1924fad 100644
--- a/arch/x86/kernel/cpu/perf_event.c
+++ b/arch/x86/kernel/cpu/perf_event.c
@@ -2206,7 +2206,7 @@ static unsigned long get_segment_base(unsigned int segment)
 	return get_desc_base(desc + idx);
 }
 
-#ifdef CONFIG_COMPAT
+#ifdef CONFIG_IA32_EMULATION
 
 #include <asm/compat.h>
 
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/12] x86/compat: Separate X32 from 32-bit compat Brian Gerst <brgerst@gmail.com> - 2015-06-22 14:00 +0200
  [PATCH 07/12] x86/compat: get_gate_vma should check for both 32-bit compat and x32 Brian Gerst <brgerst@gmail.com> - 2015-06-22 14:00 +0200
  [PATCH 08/12] x86/compat/perf: perf_callchain_user32 is only for 32-bit compat Brian Gerst <brgerst@gmail.com> - 2015-06-22 14:00 +0200
  [PATCH 06/12] x86/compat: Don't build 32-bit vdso if not needed. Brian Gerst <brgerst@gmail.com> - 2015-06-22 14:00 +0200

csiph-web