kernels/linux-2.4.0/drivers/char/nvram.c
/* This races nicely with trying to read with checksum checking (nvram_read) */
This races nicely with trying to read with checksum checking (nvram_read)
This races nicely with trying to read with checksum checking ( nvram_read )
void nvram_write_byte( unsigned char c, int i )
{
	unsigned long flags;
	spin_lock_irqsave (&rtc_lock, flags);
	nvram_write_int( c, i );
	spin_unlock_irqrestore (&rtc_lock, flags);
}
void nvram_write_byte ( unsigned char c , int i ) { unsigned long flags ; spin_lock_irqsave ( & rtc_lock , flags ) ; nvram_write_int ( c , i ) ; spin_unlock_irqrestore ( & rtc_lock , flags ) ; }
This races nicely with trying to read with checksum checking (nvram_read)
This races nicely with trying to read with checksum checking ( nvram_read )