From: Rusty Russell <rusty@rustcorp.com.au>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.9 per-cpu-areas ONCE AND FOR ALL
Date: Tue, 23 Apr 2002 12:02:13 +1000 [thread overview]
Message-ID: <E16zpdF-00026Y-00@wagner.rustcorp.com.au> (raw)
This is the correct patch. Do NOT apply any lesser imitations!
Thanks,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.9/init/main.c working-2.5.9-percpu/init/main.c
--- linux-2.5.9/init/main.c Tue Apr 23 11:39:40 2002
+++ working-2.5.9-percpu/init/main.c Tue Apr 23 12:00:14 2002
@@ -274,12 +274,7 @@
static inline void setup_per_cpu_areas(void)
{
}
-
-static inline void setup_per_cpu_areas(void)
-{
-}
-
-#else
+#else /* CONFIG_SMP... */
#ifdef __GENERIC_PER_CPU
unsigned long __per_cpu_offset[NR_CPUS];
@@ -315,7 +310,7 @@
smp_commence();
}
-#endif
+#endif /* CONFIG_SMP */
/*
* We need to finalize in a non-__init function or else race conditions
reply other threads:[~2002-04-23 1:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E16zpdF-00026Y-00@wagner.rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®