lkml.org 
[lkml]   [2015]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [V4 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly
Hi Hidehiro,

[auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore]

config: x86_64-allnoconfig (attached as .config)
reproduce:
git checkout 0077681103150af584e5e592c0238fd010654c26
# save the attached .config to linux build tree
make ARCH=x86_64

All error/warnings (new ones prefixed by >>):

kernel/panic.c: In function 'panic':
>> kernel/panic.c:140:3: error: implicit declaration of function '__crash_kexec' [-Werror=implicit-function-declaration]
__crash_kexec(NULL);
^
cc1: some warnings being treated as errors

vim +/__crash_kexec +140 kernel/panic.c

134 * If we have crashed and we have a crash kernel loaded let it handle
135 * everything else.
136 * If we want to run this after calling panic_notifiers, pass
137 * the "crash_kexec_post_notifiers" option to the kernel.
138 */
139 if (!crash_kexec_post_notifiers)
> 140 __crash_kexec(NULL);
141
142 /*
143 * Note smp_send_stop is the usual smp shutdown function, which

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-09-28 06:21    [W:0.019 / U:23.948 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site