diff options
author | Corey Minyard <cminyard@mvista.com> | 2016-07-11 13:16:27 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-07-14 21:54:53 -0400 |
commit | 04230453fbc4a049739e0ec46801d0a654d17374 (patch) | |
tree | 4e3ecb8f2ff8ba55c5478c20ba83bb4cc6ecddad /arch/arm/plat-mxc/gpio.c | |
parent | c2ef88945f26d03d5d788c9b0539d7e8915c75a9 (diff) | |
download | linux-rt-04230453fbc4a049739e0ec46801d0a654d17374.tar.gz |
x86: Fix an RT MCE crash
On some x86 systems an MCE interrupt would come in before the kernel
was ready for it. Looking at the latest RT code, it has similar
(but not quite the same) code, except it adds a bool that tells if
MCE handling is initialized. That was required because they had
switched to use swork instead of a kernel thread. Here, just
checking to see if the thread is NULL is good enough to see if
MCE handling is initialized.
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/arm/plat-mxc/gpio.c')
0 files changed, 0 insertions, 0 deletions