Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946637AbXBIQjA (ORCPT ); Fri, 9 Feb 2007 11:39:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946647AbXBIQjA (ORCPT ); Fri, 9 Feb 2007 11:39:00 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:51691 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946637AbXBIQi4 (ORCPT ); Fri, 9 Feb 2007 11:38:56 -0500 To: torvalds@linux-foundation.org Subject: [PATCH] in non-NUMA case mark GFP_THISNODE gfp_t Cc: linux-kernel@vger.kernel.org Message-Id: From: Al Viro Date: Fri, 09 Feb 2007 16:38:55 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 31 ... operations with it are OK as is, but flags & ~0 will have no idea that this ~0 is meant to be ~gfp_t. Signed-off-by: Al Viro --- include/linux/gfp.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 00c314a..063799e 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -70,7 +70,7 @@ struct vm_area_struct; #ifdef CONFIG_NUMA #define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY) #else -#define GFP_THISNODE 0 +#define GFP_THISNODE ((__force gfp_t)0) #endif -- 1.5.0-rc2.GIT - 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/