Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 9 Jan 2003 13:53:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 9 Jan 2003 13:53:12 -0500 Received: from natsmtp00.webmailer.de ([192.67.198.74]:56031 "EHLO post.webmailer.de") by vger.kernel.org with ESMTP id ; Thu, 9 Jan 2003 13:53:10 -0500 Date: Thu, 9 Jan 2003 20:02:45 +0100 From: Dominik Brodowski To: torvalds@transmeta.com Cc: akpm@diego.com, linux-kernel@vger.kernel.org, cpufreq@www.linux.org.uk Subject: [PATCH] cpufreq: gcc-2.91.66 compatibility Message-ID: <20030109190245.GB10449@brodo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1119 Lines: 40 Make gcc-2.91.66 happy. Noted by Andrew Morton - thanks. Dominik diff -ruN linux-original/kernel/cpufreq.c linux/kernel/cpufreq.c --- linux-original/kernel/cpufreq.c 2003-01-09 19:16:00.000000000 +0100 +++ linux/kernel/cpufreq.c 2003-01-09 19:17:02.000000000 +0100 @@ -734,8 +734,8 @@ } #else -#define cpufreq_sysctl_init() -#define cpufreq_sysctl_exit() +#define cpufreq_sysctl_init() do {} while(0) +#define cpufreq_sysctl_exit() do {} while(0) #endif /* CONFIG_SYSCTL */ #endif /* CONFIG_CPU_FREQ_24_API */ @@ -946,7 +946,7 @@ loops_per_jiffy = cpufreq_scale(l_p_j_ref, l_p_j_ref_freq, ci->new); } #else -#define adjust_jiffies(...) +#define adjust_jiffies(x...) do {} while (0) #endif @@ -1131,6 +1131,6 @@ } EXPORT_SYMBOL_GPL(cpufreq_restore); #else -#define cpufreq_restore() +#define cpufreq_restore() do {} while (0) #endif /* CONFIG_PM */ - 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/