Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932272AbVJITp7 (ORCPT ); Sun, 9 Oct 2005 15:45:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750974AbVJITmf (ORCPT ); Sun, 9 Oct 2005 15:42:35 -0400 Received: from ppp-62-11-74-46.dialup.tiscali.it ([62.11.74.46]:24472 "EHLO zion.home.lan") by vger.kernel.org with ESMTP id S1750968AbVJITmZ (ORCPT ); Sun, 9 Oct 2005 15:42:25 -0400 From: "Paolo 'Blaisorblade' Giarrusso" Subject: [PATCH 6/6] uml: cleanup whitespace for COW driver Date: Sun, 09 Oct 2005 21:37:53 +0200 To: Linus Torvalds , Andrew Morton Cc: Jeff Dike , linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Message-Id: <20051009193753.26019.59186.stgit@zion.home.lan> In-Reply-To: <200510092118.21032.blaisorblade@yahoo.it> References: <200510092118.21032.blaisorblade@yahoo.it> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1416 Lines: 44 From: Paolo 'Blaisorblade' Giarrusso Fix whitespace - I split this off the previous patch for easier review. Signed-off-by: Paolo 'Blaisorblade' Giarrusso --- arch/um/drivers/cow.h | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/um/drivers/cow.h b/arch/um/drivers/cow.h --- a/arch/um/drivers/cow.h +++ b/arch/um/drivers/cow.h @@ -23,15 +23,15 @@ #include #if defined(__BYTE_ORDER) -#if __BYTE_ORDER == __BIG_ENDIAN -# define ntohll(x) (x) -# define htonll(x) (x) -#elif __BYTE_ORDER == __LITTLE_ENDIAN -# define ntohll(x) bswap_64(x) -# define htonll(x) bswap_64(x) -#else -# error "Could not determine byte order: __BYTE_ORDER uncorrectly defined" -#endif +# if __BYTE_ORDER == __BIG_ENDIAN +# define ntohll(x) (x) +# define htonll(x) (x) +# elif __BYTE_ORDER == __LITTLE_ENDIAN +# define ntohll(x) bswap_64(x) +# define htonll(x) bswap_64(x) +# else +# error "Could not determine byte order: __BYTE_ORDER uncorrectly defined" +# endif #else /* ! defined(__BYTE_ORDER) */ # error "Could not determine byte order: __BYTE_ORDER not defined" - 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/