Skip to contentSkip to conversation

cpufreq: Initialise default governor before use

PATCH Johannes Weiner 1 participant 1 message Jan 16, 2008 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi,

Quoted 9 lines · Ingo Molnar

Review

Quoted 5 lines · * [email protected] <[email protected]> wrote:
(quoted diff) +4 -0
+#ifdef CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
+fs_initcall(cpufreq_gov_dbs_init);
+#else
 module_init(cpufreq_gov_dbs_init);
+#endif

silly question: why not unconditional fs_initcall() ?

Would there be a way to avoid the fs_initcall at all?

Otherwise, this is just a psychological thing to show, hey, this still sucks, find a better solution. But perhaps the plain fs_initcall is marker enough for that fact.

Hannes