public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC IA64 Hotplug] [Patch 1/7] core_kernel_init.patch
@ 2004-04-25  6:46 Ashok Raj
  2004-04-26  5:36 ` Andrew Morton
  2004-04-26 16:16 ` Ashok Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Ashok Raj @ 2004-04-25  6:46 UTC (permalink / raw)
  To: linux-ia64

Patch 1/7

Removed __init in core kernel files.


Cheers,
ashok raj
- Linux Core Software Group
   


Name: core_kernel_init.patch
Author: Ashok Raj (Intel Corporation)
D: This patch changes __init to __devinit to init_idle so that when a new
cpu
D: arrives, it can call these functions at a later time.


---

 linux-2.6.5-lhcs-root/init/main.c    |    2 +-
 linux-2.6.5-lhcs-root/kernel/sched.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN kernel/sched.c~core_kernel_init kernel/sched.c
--- linux-2.6.5-lhcs/kernel/sched.c~core_kernel_init	2004-04-20
21:08:09.748764489 -0700
+++ linux-2.6.5-lhcs-root/kernel/sched.c	2004-04-20
21:08:09.752670741 -0700
@@ -2657,7 +2657,7 @@ void show_state(void)
 	read_unlock(&tasklist_lock);
 }
 
-void __init init_idle(task_t *idle, int cpu)
+void __devinit init_idle(task_t *idle, int cpu)
 {
 	runqueue_t *idle_rq = cpu_rq(cpu), *rq = cpu_rq(task_cpu(idle));
 	unsigned long flags;
diff -puN init/main.c~core_kernel_init init/main.c
--- linux-2.6.5-lhcs/init/main.c~core_kernel_init	2004-04-20
21:08:09.750717615 -0700
+++ linux-2.6.5-lhcs-root/init/main.c	2004-04-20 21:08:09.753647304 -0700
@@ -181,7 +181,7 @@ EXPORT_SYMBOL(loops_per_jiffy);
    better than 1% */
 #define LPS_PREC 8
 
-void __init calibrate_delay(void)
+void __devinit calibrate_delay(void)
 {
 	unsigned long ticks, loopbit;
 	int lps_precision = LPS_PREC;

_


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC IA64 Hotplug] [Patch 1/7] core_kernel_init.patch
  2004-04-25  6:46 [RFC IA64 Hotplug] [Patch 1/7] core_kernel_init.patch Ashok Raj
@ 2004-04-26  5:36 ` Andrew Morton
  2004-04-26 16:16 ` Ashok Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2004-04-26  5:36 UTC (permalink / raw)
  To: linux-ia64


These patches were disastrously wordwrapped by your mailer (usually an
indication that the code is using too-long lines, too).

Having nothing better to do, I fixed them all up and applied them to my
tree, thanks.

One of the patches adds a KDB initialisation hook to init/main.c.  Was this
deliberate?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [RFC IA64 Hotplug] [Patch 1/7] core_kernel_init.patch
  2004-04-25  6:46 [RFC IA64 Hotplug] [Patch 1/7] core_kernel_init.patch Ashok Raj
  2004-04-26  5:36 ` Andrew Morton
@ 2004-04-26 16:16 ` Ashok Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Ashok Raj @ 2004-04-26 16:16 UTC (permalink / raw)
  To: linux-ia64

   

>-----Original Message-----
>From: Andrew Morton [mailto:akpm@osdl.org]
>Sent: Sunday, April 25, 2004 10:36 PM
>To: Raj, Ashok
>Cc: lhcs-devel@lists.sourceforge.net; linux-ia64@vger.kernel.org;
>davidm@hpl.hp.com; rusty@rustcorp.com.au; Luck, Tony; Mallick, Asit K;
>Saxena, Sunil; Shah, Rajesh
>Subject: Re: [RFC IA64 Hotplug] [Patch 1/7] core_kernel_init.patch
>
>
>These patches were disastrously wordwrapped by your mailer (usually an
>indication that the code is using too-long lines, too).
>
>Having nothing better to do, I fixed them all up and applied them to my
>tree, thanks.
>
>One of the patches adds a KDB initialisation hook to init/main.c.  Was this
>deliberate?

Nope. The kdb was inadvertently included by mistake.. sorry about that.

I forgot one step in using the LOOKOUT to get the word wrap thingy to fix..
I will be careful the next time :-(



Cheers,
ashok raj
- Linux Core Software Group



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-26 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-25  6:46 [RFC IA64 Hotplug] [Patch 1/7] core_kernel_init.patch Ashok Raj
2004-04-26  5:36 ` Andrew Morton
2004-04-26 16:16 ` Ashok Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox