* compile fix net/core/dev.c
@ 2004-06-21 12:06 carbonated beverage
0 siblings, 0 replies; only message in thread
From: carbonated beverage @ 2004-06-21 12:06 UTC (permalink / raw)
To: linux-kernel
Tiny patch to make gcc 2.95.4 happy. Declare a variable before code
preceeds it.
-- DN
Daniel
===== net/core/dev.c 1.147 vs edited =====
--- 1.147/net/core/dev.c 2004-06-20 17:35:52 -07:00
+++ edited/net/core/dev.c 2004-06-21 04:36:04 -07:00
@@ -1406,8 +1406,10 @@
Either shot noqueue qdisc, it is even simpler 8)
*/
if (dev->flags & IFF_UP) {
+ int cpu;
+
preempt_disable();
- int cpu = smp_processor_id();
+ cpu = smp_processor_id();
if (dev->xmit_lock_owner != cpu) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-21 12:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-21 12:06 compile fix net/core/dev.c carbonated beverage
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®