forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/powerpc/platforms/powernv/opal-kmsg.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * kmsg dumper that ensures the OPAL console fully flushes panic messages
34 *
45 * Author: Russell Currey <ruscur@russell.cc>
56 *
67 * Copyright 2015 IBM Corporation.
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the
10
- * Free Software Foundation; either version 2 of the License, or (at your
11
- * option) any later version.
128 */
139
1410 #include <linux/kmsg_dump.h>
....@@ -24,7 +20,8 @@
2420 * message, it just ensures that OPAL completely flushes the console buffer.
2521 */
2622 static void kmsg_dump_opal_console_flush(struct kmsg_dumper *dumper,
27
- enum kmsg_dump_reason reason)
23
+ enum kmsg_dump_reason reason,
24
+ struct kmsg_dumper_iter *iter)
2825 {
2926 /*
3027 * Outside of a panic context the pollers will continue to run,