All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.2.18: static rtc_lock in nvram.c
@ 2001-02-26  6:51 Ulrich Windl
  2001-02-26  9:33 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Windl @ 2001-02-26  6:51 UTC (permalink / raw)
  To: linux-kernel

Hi,

browsing the sources for some problem I wondered why nvram.c uses a 
static spinlock named rtc_lock, hiding the global one.

Regards,
Ulrich


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

* Re: 2.2.18: static rtc_lock in nvram.c
  2001-02-26  6:51 2.2.18: static rtc_lock in nvram.c Ulrich Windl
@ 2001-02-26  9:33 ` Alan Cox
  2001-02-26  9:36   ` Ulrich Windl
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2001-02-26  9:33 UTC (permalink / raw)
  To: Ulrich Windl; +Cc: linux-kernel

> browsing the sources for some problem I wondered why nvram.c uses a 
> static spinlock named rtc_lock, hiding the global one.

It only does that for the atari, where the driver isnt used by other things



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

* Re: 2.2.18: static rtc_lock in nvram.c
  2001-02-26  9:33 ` Alan Cox
@ 2001-02-26  9:36   ` Ulrich Windl
  2001-02-26  9:44     ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Windl @ 2001-02-26  9:36 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

On 26 Feb 2001, at 9:33, Alan Cox wrote:

> > browsing the sources for some problem I wondered why nvram.c uses a 
> > static spinlock named rtc_lock, hiding the global one.
> 
> It only does that for the atari, where the driver isnt used by other things

Hmm.. are there different nvram.c drivers? I noticed that SuSE 7.1 
loads that driver in i386....

Also doesn't look a lot like Atari:
 * This driver allows you to access the contents of the non-volatile 
memory in
 * the mc146818rtc.h real-time clock. This chip is built into all PCs 
and into
 * many Atari machines. In the former it's called "CMOS-RAM", in the 
latter
 * "NVRAM" (NV stands for non-volatile).


Regards,
Ulrich


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

* Re: 2.2.18: static rtc_lock in nvram.c
  2001-02-26  9:36   ` Ulrich Windl
@ 2001-02-26  9:44     ` Alan Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2001-02-26  9:44 UTC (permalink / raw)
  To: Ulrich Windl; +Cc: Alan Cox, linux-kernel

> > It only does that for the atari, where the driver isnt used by other things
> 
> Hmm.. are there different nvram.c drivers? I noticed that SuSE 7.1 
> loads that driver in i386....

Read carefully

>  * This driver allows you to access the contents of the non-volatile 
> memory in
>  * the mc146818rtc.h real-time clock. This chip is built into all PCs 
> and into
>  * many Atari machines. In the former it's called "CMOS-RAM", in the 
> latter
>  * "NVRAM" (NV stands for non-volatile).

The 

static spinlock_t

is in the ATARI specific section


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

end of thread, other threads:[~2001-02-26 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-26  6:51 2.2.18: static rtc_lock in nvram.c Ulrich Windl
2001-02-26  9:33 ` Alan Cox
2001-02-26  9:36   ` Ulrich Windl
2001-02-26  9:44     ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.