Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196654
b: refs/heads/master
c: 7358650
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Benjamin Herrenschmidt committed May 21, 2010
1 parent 9dced70 commit f81f0dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 78f622377f7d31d988db350a43c5689dd5f31876
refs/heads/master: 7358650e9e9a81c854dc4582b4193eb5ea500bf6
6 changes: 6 additions & 0 deletions trunk/arch/powerpc/kernel/rtasd.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,12 @@ static int __init rtas_init(void)
return -ENODEV;
}

if (!rtas_event_scan_rate) {
/* Broken firmware: take a rate of zero to mean don't scan */
printk(KERN_DEBUG "rtasd: scan rate is 0, not scanning\n");
return 0;
}

/* Make room for the sequence number */
rtas_error_log_max = rtas_get_error_log_max();
rtas_error_log_buffer_max = rtas_error_log_max + sizeof(int);
Expand Down

0 comments on commit f81f0dc

Please sign in to comment.