summaryrefslogtreecommitdiffstats
path: root/linux-2.6-debug-sizeof-structs.patch
diff options
context:
space:
mode:
authorKyle McMartin <kyle@redhat.com>2011-03-28 15:15:32 -0400
committerKyle McMartin <kyle@redhat.com>2011-03-28 17:22:32 -0400
commitdb49e9edd88a3f41e7c5f249c26583c579a41bb1 (patch)
tree8aa40ec5918044c135000a68524ddee9da2172a3 /linux-2.6-debug-sizeof-structs.patch
parent561c61e4ca69b9f215c5f476aea5e78928fe4af1 (diff)
downloadkernel-db49e9edd88a3f41e7c5f249c26583c579a41bb1.tar.gz
kernel-db49e9edd88a3f41e7c5f249c26583c579a41bb1.tar.xz
kernel-db49e9edd88a3f41e7c5f249c26583c579a41bb1.zip
update to snapshot 2.6.38-git19
Diffstat (limited to 'linux-2.6-debug-sizeof-structs.patch')
-rw-r--r--linux-2.6-debug-sizeof-structs.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/linux-2.6-debug-sizeof-structs.patch b/linux-2.6-debug-sizeof-structs.patch
index e027d98a1..803c7ecba 100644
--- a/linux-2.6-debug-sizeof-structs.patch
+++ b/linux-2.6-debug-sizeof-structs.patch
@@ -1,8 +1,8 @@
-diff --git a/init/main.c b/init/main.c
-index 7449819..98cfaae 100644
---- a/init/main.c
-+++ b/init/main.c
-@@ -369,6 +369,11 @@ static void __init setup_nr_cpu_ids(void)
+diff --git a/kernel/smp.c b/kernel/smp.c
+index 73a1951..4ce4c50 100644
+--- a/kernel/smp.c
++++ b/kernel/smp.c
+@@ -667,6 +667,11 @@ void __init setup_nr_cpu_ids(void)
nr_cpu_ids = find_last_bit(cpumask_bits(cpu_possible_mask),NR_CPUS) + 1;
}
@@ -12,9 +12,9 @@ index 7449819..98cfaae 100644
+#include <linux/sched.h>
+
/* Called by boot processor to activate the rest. */
- static void __init smp_init(void)
+ void __init smp_init(void)
{
-@@ -391,6 +395,16 @@ static void __init smp_init(void)
+@@ -683,6 +688,16 @@ void __init smp_init(void)
/* Any cleanup work */
printk(KERN_INFO "Brought up %ld CPUs\n", (long)num_online_cpus());
smp_cpus_done(setup_max_cpus);
@@ -30,4 +30,4 @@ index 7449819..98cfaae 100644
+ printk(KERN_DEBUG "sizeof(task_struct)=%u bytes\n", (unsigned int) sizeof(struct task_struct));
}
- #endif
+ /*