Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751826AbWEKQWb (ORCPT ); Thu, 11 May 2006 12:22:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751851AbWEKQWb (ORCPT ); Thu, 11 May 2006 12:22:31 -0400 Received: from aun.it.uu.se ([130.238.12.36]:30653 "EHLO aun.it.uu.se") by vger.kernel.org with ESMTP id S1751826AbWEKQWa (ORCPT ); Thu, 11 May 2006 12:22:30 -0400 Date: Thu, 11 May 2006 18:22:10 +0200 (MEST) Message-Id: <200605111622.k4BGMAUn003662@harpo.it.uu.se> From: Mikael Pettersson To: kraxel@suse.de, rene.herman@keyaccess.nl Subject: Re: [patch] SMP alternatives: skip with UP kernels. Cc: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 507 Lines: 12 On Thu, 11 May 2006 14:13:22 +0200, Gerd Hoffmann wrote: >+ if (0 == (__smp_alt_end - __smp_alt_begin)) >+ return; /* no tables, nothing to patch (UP kernel) */ That's an unnecessarily obscure way of stating the obvious: if (__smp_alt_end == __smp_alt_begin) - 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/