.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | | - * This program is free software; you can redistribute it and/or modify |
---|
3 | | - * it under the terms of the GNU General Public License, version 2, as |
---|
4 | | - * published by the Free Software Foundation. |
---|
5 | | - * |
---|
6 | | - * This program is distributed in the hope that it will be useful, |
---|
7 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
8 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
9 | | - * GNU General Public License for more details. |
---|
10 | | - * |
---|
11 | | - * You should have received a copy of the GNU General Public License |
---|
12 | | - * along with this program; if not, write to the Free Software |
---|
13 | | - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
14 | 3 | * |
---|
15 | 4 | * Copyright IBM Corp. 2008 |
---|
16 | 5 | * Copyright 2011 Freescale Semiconductor, Inc. |
---|
.. | .. |
---|
50 | 39 | kvmppc_set_msr(vcpu, vcpu->arch.csrr1); |
---|
51 | 40 | } |
---|
52 | 41 | |
---|
53 | | -int kvmppc_booke_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu, |
---|
| 42 | +int kvmppc_booke_emulate_op(struct kvm_vcpu *vcpu, |
---|
54 | 43 | unsigned int inst, int *advance) |
---|
55 | 44 | { |
---|
56 | 45 | int emulated = EMULATE_DONE; |
---|