| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * PPC 64 oprofile support: |
|---|
| 3 | 4 | * Copyright (C) 2004 Anton Blanchard <anton@au.ibm.com>, IBM |
|---|
| .. | .. |
|---|
| 6 | 7 | * Author: Andy Fleming |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * 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. |
|---|
| 14 | 10 | */ |
|---|
| 15 | 11 | |
|---|
| 16 | 12 | #include <linux/oprofile.h> |
|---|
| .. | .. |
|---|
| 212 | 208 | model = &op_model_pa6t; |
|---|
| 213 | 209 | break; |
|---|
| 214 | 210 | #endif |
|---|
| 215 | | -#ifdef CONFIG_6xx |
|---|
| 211 | +#ifdef CONFIG_PPC_BOOK3S_32 |
|---|
| 216 | 212 | case PPC_OPROFILE_G4: |
|---|
| 217 | 213 | model = &op_model_7450; |
|---|
| 218 | 214 | break; |
|---|