Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754051AbbLSUsd (ORCPT ); Sat, 19 Dec 2015 15:48:33 -0500 Received: from mail-oi0-f41.google.com ([209.85.218.41]:33339 "EHLO mail-oi0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753445AbbLSUsb (ORCPT ); Sat, 19 Dec 2015 15:48:31 -0500 MIME-Version: 1.0 In-Reply-To: <20151219144334.GA4827@altlinux.org> References: <20151213034437.GA2392@altlinux.org> <20151218233736.GA28013@altlinux.org> <5674FA8A.60806@zytor.com> <20151219144334.GA4827@altlinux.org> From: Andy Lutomirski Date: Sat, 19 Dec 2015 12:48:11 -0800 Message-ID: Subject: Re: [PATCH v2] x86/signal: Cleanup get_nr_restart_syscall To: "Dmitry V. Levin" Cc: "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , Andy Lutomirski , Elvira Khabirova , X86 ML , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 489 Lines: 13 On Sat, Dec 19, 2015 at 6:43 AM, Dmitry V. Levin wrote: > Check for TS_COMPAT instead of TIF_IA32 to distinguish ia32 tasks > from 64-bit tasks. > Check for __X32_SYSCALL_BIT iff CONFIG_X86_X32_ABI is defined. LGTM. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/