Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758208AbZABM4p (ORCPT ); Fri, 2 Jan 2009 07:56:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757602AbZABM4f (ORCPT ); Fri, 2 Jan 2009 07:56:35 -0500 Received: from smtp.tal.de ([81.92.1.5]:59206 "EHLO smtp.tal.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757546AbZABM4e (ORCPT ); Fri, 2 Jan 2009 07:56:34 -0500 From: ib@wupperonline.de (Ingo Brueckl) Date: Fri, 02 Jan 2009 13:53:00 +0100 Subject: [PATCH] compile time warnings X-Mailer: blueMail 1.4 (SlipDoor 2.2) Message-ID: <495e0d52@wupperonline.de> In-Reply-To: <20090102095727.GH1975@elte.hu> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII To: Ingo Molnar Cc: Jesper Juhl Cc: Tom Spink Cc: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 33 Ingo Molnar writes: > Would you mind to send a patch for that that we could push to Linus? Do you mean something like: fix compiler warning in arch/x86/mm/init_32.c Signed-off-by: Ingo Brueckl --- linux-2.6.28/arch/x86/mm/init_32.c.orig 2008-12-25 00:26:37.000000000 +0100 +++ linux-2.6.28/arch/x86/mm/init_32.c 2009-01-02 12:51:17.000000000 +0100 @@ -436,8 +436,13 @@ static void __init set_highmem_pages_ini #endif /* !CONFIG_NUMA */ #else -# define permanent_kmaps_init(pgd_base) do { } while (0) -# define set_highmem_pages_init() do { } while (0) +static inline void permanent_kmaps_init(pgd_t *pgd_base) +{ + (void) pgd_base; +} +static inline void set_highmem_pages_init(void) +{ +} #endif /* CONFIG_HIGHMEM */ void __init native_pagetable_setup_start(pgd_t *base) -- 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/