| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2009 SUSE Linux Products GmbH. All rights reserved. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Authors: |
|---|
| 5 | 6 | * Alexander Graf <agraf@suse.de> |
|---|
| 6 | 7 | * Kevin Wolf <mail@kevin-wolf.de> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License, version 2, as |
|---|
| 10 | | - * published by the Free Software Foundation. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | | - * GNU General Public License for more details. |
|---|
| 16 | | - * |
|---|
| 17 | | - * You should have received a copy of the GNU General Public License |
|---|
| 18 | | - * along with this program; if not, write to the Free Software |
|---|
| 19 | | - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|---|
| 20 | 8 | */ |
|---|
| 21 | 9 | |
|---|
| 22 | 10 | #include <linux/kvm_host.h> |
|---|
| .. | .. |
|---|
| 396 | 384 | __destroy_context(to_book3s(vcpu)->context_id[0]); |
|---|
| 397 | 385 | } |
|---|
| 398 | 386 | |
|---|
| 399 | | -int kvmppc_mmu_init(struct kvm_vcpu *vcpu) |
|---|
| 387 | +int kvmppc_mmu_init_pr(struct kvm_vcpu *vcpu) |
|---|
| 400 | 388 | { |
|---|
| 401 | 389 | struct kvmppc_vcpu_book3s *vcpu3s = to_book3s(vcpu); |
|---|
| 402 | 390 | int err; |
|---|