do_event_scan_all_cpus(HZ); 
do_event_scan_all_cpus(1000); 
static int rtasd(void *unused){	unsigned int err_type;	int event_scan = rtas_token("event-scan");	int rc;	daemonize("rtasd");	if (event_scan == RTAS_UNKNOWN_SERVICE || get_eventscan_parms() == -1)		goto error;	rtas_log_buf = vmalloc(rtas_error_log_buffer_max*LOG_NUMBER);	if (!rtas_log_buf) {		printk(KERN_ERR "rtasd: no memory\n");		goto error;	}	printk(KERN_INFO "RTAS daemon started\n");	DEBUG("will sleep for %d jiffies\n", (HZ*60/rtas_event_scan_rate) / 2);	/* See if we have any error stored in NVRAM */	memset(logdata, 0, rtas_error_log_max);	rc = nvram_read_error_log(logdata, rtas_error_log_max, &err_type);	/* We can use rtas_log_buf now */	no_logging = 0;	if (!rc) {		if (err_type != ERR_FLAG_ALREADY_LOGGED) {			pSeries_log_error(logdata, err_type | ERR_FLAG_BOOT, 0);		}	}	/* First pass. */	do_event_scan_all_cpus(HZ);	if (surveillance_timeout != -1) {		DEBUG("enabling surveillance\n");		enable_surveillance(surveillance_timeout);		DEBUG("surveillance enabled\n");	}	/* Delay should be at least one second since some	 * machines have problems if we call event-scan too	 * quickly. */	for (;;)		do_event_scan_all_cpus((HZ*60/rtas_event_scan_rate) / 2);error:	/* Should delete proc entries */	return -EINVAL;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/0287ebedfa032a57bb47f4bc5cb5e268ecd844ad/rtasd.c/clean/arch/ppc64/kernel/rtasd.c