Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1452163
| From | Andrey Smirnov <andrew.smirnov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 2/3] powerpc: Call chained reset handlers during reset |
| Date | 2016-07-29 01:10 +0200 |
| Message-ID | <s02Bb-4AR-1@gated-at.bofh.it> (permalink) |
| References | <s02Bb-4AR-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Call out to all restart handlers that were added via register_restart_handler() API when restarting the machine. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> --- No changes compared to v1 arch/powerpc/kernel/setup-common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 5cd3283..205d073 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c @@ -145,6 +145,10 @@ void machine_restart(char *cmd) ppc_md.restart(cmd); smp_send_stop(); + + do_kernel_restart(cmd); + mdelay(1000); + machine_hang(); } -- 2.5.5
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 2/3] powerpc: Call chained reset handlers during reset Andrey Smirnov <andrew.smirnov@gmail.com> - 2016-07-29 01:10 +0200
Re: [PATCH v2 2/3] powerpc: Call chained reset handlers during reset Nicholas Piggin <npiggin@gmail.com> - 2016-08-01 05:50 +0200
Re: [PATCH v2 2/3] powerpc: Call chained reset handlers during reset Andrey Smirnov <andrew.smirnov@gmail.com> - 2016-08-09 20:30 +0200
csiph-web