hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/powerpc/oprofile/common.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * PPC 64 oprofile support:
34 * Copyright (C) 2004 Anton Blanchard <anton@au.ibm.com>, IBM
....@@ -6,11 +7,6 @@
67 * Author: Andy Fleming
78 *
89 * Based on alpha version.
9
- *
10
- * This program is free software; you can redistribute it and/or
11
- * modify it under the terms of the GNU General Public License
12
- * as published by the Free Software Foundation; either version
13
- * 2 of the License, or (at your option) any later version.
1410 */
1511
1612 #include <linux/oprofile.h>
....@@ -212,7 +208,7 @@
212208 model = &op_model_pa6t;
213209 break;
214210 #endif
215
-#ifdef CONFIG_6xx
211
+#ifdef CONFIG_PPC_BOOK3S_32
216212 case PPC_OPROFILE_G4:
217213 model = &op_model_7450;
218214 break;