* [PATCH] cpufreq: gcc-2.91.66 compatibility
@ 2003-01-09 19:02 Dominik Brodowski
0 siblings, 0 replies; only message in thread
From: Dominik Brodowski @ 2003-01-09 19:02 UTC (permalink / raw)
To: torvalds; +Cc: akpm, linux-kernel, cpufreq
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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-09 18:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-09 19:02 [PATCH] cpufreq: gcc-2.91.66 compatibility Dominik Brodowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.