unsigned long done, flags; 
unsigned int done; unsigned long flags; 
static void chrp_nvram_write(int addr, unsigned char val){	unsigned long done, flags;	if (addr >= nvram_size) {		printk(KERN_DEBUG "%s: write addr %d > nvram_size %u\n",		       current->comm, addr, nvram_size);		return;	}	spin_lock_irqsave(&nvram_lock, flags);	nvram_buf[0] = val;	if ((rtas_call(rtas_token("nvram-store"), 3, 2, &done, addr,		       __pa(nvram_buf), 1) != 0) || 1 != done)		printk(KERN_DEBUG "rtas IO error storing 0x%02x at %d", val, addr);	spin_unlock_irqrestore(&nvram_lock, flags);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/398382999bcff46ec1c7e7ab7574b10b087481c7/nvram.c/buggy/arch/powerpc/platforms/chrp/nvram.c