public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Updated CPU Hotplug patches for IA64 [Patch 1/7]
@ 2004-04-28  1:00 Ashok Raj
  2004-04-28  1:01 ` Updated CPU hotplug patches for IA64 [Patch 2/7] Ashok Raj
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ashok Raj @ 2004-04-28  1:00 UTC (permalink / raw)
  To: linux-ia64

Hi Andrew

Here are the updated patches for CPU hotplug support for IA64. I reworked
some of the patches, and merged/split them based on feedback from 
David Mosberger-Tang, and couple others from the list.

Summary of changes.
- Removed kdb patch that got in by mistake :-(
- split migrate_irq.patch to separate the bug fix v.s. feature required for
  cpu hotplug support. (Thanks to Kanashige-san (fujitsu) for giving me that
  extra work :-)).
- Removed one per-cpu global that was also initialized to 0, which was not
  necessary.
- Removed some hunks that were white space in hotcpu_ia64.patch
- Sorted the newly added headers as per David Moshberger's requirements.
- Merged the rest of migrate_irq.patch with hotcpu_ia64.patch as it was
  integral part of the cpu hotplug patches.
- arch/ia64/dig/topology.c is added only for non-numa, numa adds it in 
  arch/ia64/mm/numa.c (Probably better to move to a common file in future)

Mostly the same, except some minor restructuring and cleanup...

Oh.. this time, i have learned to keep the lines together...:-) and not 
introducing line breaks... (Hopefully)

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-26 22:14:54.113320301 -0700
+++ linux-2.6.5-lhcs-root/kernel/sched.c	2004-04-26 22:14:54.117226553 -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-26 22:14:54.114296864 -0700
+++ linux-2.6.5-lhcs-root/init/main.c	2004-04-26 22:14:54.124062494 -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] 7+ messages in thread

end of thread, other threads:[~2004-04-28  1:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28  1:00 Updated CPU Hotplug patches for IA64 [Patch 1/7] Ashok Raj
2004-04-28  1:01 ` Updated CPU hotplug patches for IA64 [Patch 2/7] Ashok Raj
2004-04-28  1:02 ` Updated CPU hotplug patches for IA64 [Patch 3/7] Ashok Raj
2004-04-28  1:04 ` Updated CPU hotplug patches for IA64 [Patch 4/7] Ashok Raj
2004-04-28  1:05 ` Updated CPU hotplug patches for IA64 [Patch 5/7] Ashok Raj
2004-04-28  1:07 ` Updated CPU hotplug patches for IA64 [Patch 6/7] Ashok Raj
2004-04-28  1:08 ` Updated CPU hotplug patches for IA64 [Patch 7/7] Ashok Raj

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