process in wait_event_interruptible() when logging facility was
switched off and log is already empty.
Acked-by: David Howells <[EMAIL PROTECTED]>
Signed-off-by: Vitaly Mayatskikh <[EMAIL PROTECTED]>
diff --git a/arch/powerpc/platforms/pseries/rtasd.c
b/arch/powerpc/platforms/pseries/rtasd.c
out;
> > + } else
> > + nvram_clear_error_log();
>
> The 'else' here is unnecessary. It's preceded inside the curlies by a goto.
Right...
Signed-off-by: Vitaly Mayatskikh <[EMAIL PROTECTED]>
diff --git a/arch/powerpc/platforms/pseries/rtasd.c
b/arch/powerpc
rtas_log_read() doesn't check file flags for O_NONBLOCK and blocks
non-blocking reader of /proc/ppc64/rtas/error_log if there's no data
available. This patch fixes the problem.
Signed-off-by: Vitaly Mayatskikh <[EMAIL PROTECTED]>
diff --git a/arch/powerpc/platforms/pseries