Re: getting rid of "fs_initcall" from drivers/ code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 5 Aug 2008, Matthew Wilcox wrote:

> On Tue, Aug 05, 2008 at 10:07:47PM -0400, Robert P. J. Day wrote:
> >   in short, it seems a lot of that nonsense can be cleaned.  thoughts?
>
> You're wrong.  And far too verbose to explain why.  Ask a simple
> question, in no more than 5 lines of 80-column text, and I will answer
> it more politely.

ok ... what is the point of the following?

#ifdef CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE
fs_initcall(cpufreq_gov_userspace_init);
#else
module_init(cpufreq_gov_userspace_init);
#endif

and why can't it be reduced?

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux