Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175719
b: refs/heads/master
c: fd62c6c
h: refs/heads/master
i:
  175717: 5f209ef
  175715: 6ffc2fa
  175711: e0ba118
v: v3
  • Loading branch information
Thomas Gleixner authored and Benjamin Herrenschmidt committed Oct 30, 2009
1 parent 0b03beb commit 32f1586
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ae7dd0208f62f1d6db4c49b85e54fa7bbed0ea4e
refs/heads/master: fd62c6c448669a946e94fbb0ad179918b2233e3d
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/kernel/nvram_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,9 @@ int nvram_clear_error_log(void)
int clear_word = ERR_FLAG_ALREADY_LOGGED;
int rc;

if (nvram_error_log_index == -1)
return -1;

tmp_index = nvram_error_log_index;

rc = ppc_md.nvram_write((char *)&clear_word, sizeof(int), &tmp_index);
Expand Down

0 comments on commit 32f1586

Please sign in to comment.