From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754501Ab2AQOpA (ORCPT ); Tue, 17 Jan 2012 09:45:00 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:46981 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752670Ab2AQOo7 (ORCPT ); Tue, 17 Jan 2012 09:44:59 -0500 Date: Tue, 17 Jan 2012 18:44:52 +0400 From: Cyrill Gorcunov To: Alexey Dobriyan Cc: LKML , "Eric W. Biederman" , Pavel Emelyanov , Andrey Vagin , Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Glauber Costa , Andi Kleen , Tejun Heo , Matt Helsley , Pekka Enberg , Eric Dumazet , Vasiliy Kulikov , Andrew Morton , Valdis.Kletnieks@vt.edu Subject: Re: [RFC] syscalls, x86: Add __NR_kcmp syscall Message-ID: <20120117144452.GG16213@moon> References: <20120117142759.GE16213@moon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 17, 2012 at 04:38:14PM +0200, Alexey Dobriyan wrote: > On 1/17/12, Cyrill Gorcunov wrote: > > +#define KCMP_EQ 0 > > +#define KCMP_LT 1 > > +#define KCMP_GT 2 > > LT and GT are meaningless. > I found symbolic names better than open-coded values. But sure, if this is problem it could be dropped. Or you mean that in general anything but 'equal' is useless? Cyrill