} 
static int i8k_get_power_status(void){	SMMRegisters regs = { 0, 0, 0, 0, 0, 0 };	int rc;	regs.eax = I8K_SMM_POWER_STATUS;	if ((rc = i8k_smm(&regs)) < 0) {		return rc;	}	switch (regs.eax & 0xff) {	case I8K_POWER_AC:		return I8K_AC;	default:		return I8K_BATTERY;	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8378b92405dd606c6f3a0b1e303b67c8f8c9f743/i8k.c/clean/drivers/char/i8k.c