Re: [2.6 patch] kill include/linux/platform.h

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

 



> The default_idle() prototype should stay inside some header file.

That would be best, yes.

> @Patrick:
> Any suggestion where it should move to?

Of the include files already included directly by arch/ia64/kernel/setup.c,
<linux/sched.h> looks the most promising.  There's lots of .*idle.* things
already in there.

Looking at existing precedent: ppc64 has a definition of default_idle()
in <asm/machdep.h>

i396, cris and um already have gone along the route of adding extern
definitions for default_idle() to ".c" files ... so cleanup creates more
opportunities for cleanup (but you are probably very experienced in
this phenomenom :-)

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux