public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: readsw/writesw readsl/writesl
@ 2002-08-27 16:00 Richard.Zidlicky
  2002-08-27  9:29 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 13+ messages in thread
From: Richard.Zidlicky @ 2002-08-27 16:00 UTC (permalink / raw)
  To: davem, benh; +Cc: linux-kernel




[snip]

> ...... However, if we decide to go the way
> you describe, the we should probably also provide the raw_{in,out}*
> ones.

carefull, m68k already has them for other purposes. Original intention
was that raw_{in,out} should never be used outside architecture specific 
stuff anyway.

Richard

 

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [BKPATCH] Read-Copy Update 2.5
@ 2002-08-27  6:11 David S. Miller
  2002-08-27  6:23 ` readsw/writesw readsl/writesl Andre Hedrick
  0 siblings, 1 reply; 13+ messages in thread
From: David S. Miller @ 2002-08-27  6:11 UTC (permalink / raw)
  To: dipankar; +Cc: rusty, linux-kernel, torvalds, davej, andrea, paul.mckenney

   From: Dipankar Sarma <dipankar@in.ibm.com>
   Date: Tue, 27 Aug 2002 11:41:52 +0530

   On Tue, Aug 27, 2002 at 10:24:30AM +1000, Rusty Russell wrote:
   > > +#ifdef CONFIG_PREEMPT
   > > +/* Fake initialization to work around compiler breakage */
   > > +DEFINE_PER_CPU(atomic_t[2], rcu_preempt_cntr) = 
   > > +			{ATOMIC_INIT(0), ATOMIC_INIT(0)};
   > > +DEFINE_PER_CPU(atomic_t, *curr_preempt_cntr) = NULL;
   > > +DEFINE_PER_CPU(atomic_t, *next_preempt_cntr) = NULL;
   > 
   > Also static I assume?
   
   So, only statics are broken by gcc 2.95, right ?

I think it gets both static and non-static wrong.

Why don't we just specify that DEFINE_PER_CPU()'s must
have explicit initializers then we never need to think
about this ever again.

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

end of thread, other threads:[~2002-08-29  9:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-27 16:00 readsw/writesw readsl/writesl Richard.Zidlicky
2002-08-27  9:29 ` Benjamin Herrenschmidt
2002-08-28 12:23   ` Richard Zidlicky
2002-08-28 16:17     ` Benjamin Herrenschmidt
2002-08-29  9:17       ` Richard Zidlicky
  -- strict thread matches above, loose matches on Subject: below --
2002-08-27  6:11 [BKPATCH] Read-Copy Update 2.5 David S. Miller
2002-08-27  6:23 ` readsw/writesw readsl/writesl Andre Hedrick
2002-08-27  6:43   ` David S. Miller
2002-08-27  6:55     ` Andre Hedrick
2002-08-27  7:30   ` David S. Miller
2002-08-27  6:46     ` Benjamin Herrenschmidt
2002-08-27  6:49       ` Benjamin Herrenschmidt
2002-08-27 17:25     ` Alan Cox
2002-08-27 21:31       ` David S. Miller

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