hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/powerpc/platforms/82xx/pq2.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Common PowerQUICC II code.
34 *
....@@ -7,12 +8,9 @@
78 * Based on code by Vitaly Bordug <vbordug@ru.mvista.com>
89 * pq2_restart fix by Wade Farnsworth <wfarnsworth@mvista.com>
910 * Copyright (c) 2006 MontaVista Software, Inc.
10
- *
11
- * This program is free software; you can redistribute it and/or modify it
12
- * under the terms of the GNU General Public License as published by the
13
- * Free Software Foundation; either version 2 of the License, or (at your
14
- * option) any later version.
1511 */
12
+
13
+#include <linux/kprobes.h>
1614
1715 #include <asm/cpm2.h>
1816 #include <asm/io.h>
....@@ -33,6 +31,7 @@
3331
3432 panic("Restart failed\n");
3533 }
34
+NOKPROBE_SYMBOL(pq2_restart)
3635
3736 #ifdef CONFIG_PCI
3837 static int pq2_pci_exclude_device(struct pci_controller *hose,