#include <asm/prom.h>
#include <asm/nvram.h>
#include <asm/atomic.h>
-#include <asm/machdep.h>
#if 0
#define DEBUG(A...) printk(KERN_ERR A)
return 0;
if (error == -EINVAL) {
- printk(KERN_DEBUG "rtasd: surveillance not supported\n");
+ printk(KERN_INFO "rtasd: surveillance not supported\n");
return 0;
}
goto error;
}
- printk(KERN_DEBUG "RTAS daemon started\n");
+ printk(KERN_INFO "RTAS daemon started\n");
DEBUG("will sleep for %d milliseconds\n", (30000/rtas_event_scan_rate));
{
struct proc_dir_entry *entry;
- if (!machine_is(pseries))
+ if (!platform_is_pseries())
return 0;
/* No RTAS */
if (rtas_token("event-scan") == RTAS_UNKNOWN_SERVICE) {
- printk(KERN_DEBUG "rtasd: no event-scan on system\n");
- return -ENODEV;
+ printk(KERN_INFO "rtasd: no event-scan on system\n");
+ return 1;
}
entry = create_proc_entry("ppc64/rtas/error_log", S_IRUSR, NULL);