diff mbox

target-ppc kvm: missing kvm_arch_init_irq_routing

Message ID 1369905933-27199-1-git-send-email-aik@ozlabs.ru
State New
Headers show

Commit Message

Alexey Kardashevskiy May 30, 2013, 9:25 a.m. UTC
This adds an empty stub to make the compiler happy.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
 target-ppc/kvm.c |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Scott Wood May 30, 2013, 3:58 p.m. UTC | #1
On 05/30/2013 04:25:33 AM, Alexey Kardashevskiy wrote:
> This adds an empty stub to make the compiler happy.
> 
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> ---
>  target-ppc/kvm.c |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c
> index 3ab2946..2bbc3b8 100644
> --- a/target-ppc/kvm.c
> +++ b/target-ppc/kvm.c
> @@ -1797,3 +1797,7 @@ int kvm_arch_on_sigbus(int code, void *addr)
>  {
>      return 1;
>  }
> +
> +void kvm_arch_init_irq_routing(KVMState *s)
> +{
> +}
> --
> 1.7.10.4

http://patchwork.ozlabs.org/patch/240718/

I guess someone else updated the kernel headers first.

-Scott
Alexey Kardashevskiy May 30, 2013, 11:07 p.m. UTC | #2
On 05/31/2013 01:58 AM, Scott Wood wrote:
> On 05/30/2013 04:25:33 AM, Alexey Kardashevskiy wrote:
>> This adds an empty stub to make the compiler happy.
>>
>> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
>> ---
>>  target-ppc/kvm.c |    4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c
>> index 3ab2946..2bbc3b8 100644
>> --- a/target-ppc/kvm.c
>> +++ b/target-ppc/kvm.c
>> @@ -1797,3 +1797,7 @@ int kvm_arch_on_sigbus(int code, void *addr)
>>  {
>>      return 1;
>>  }
>> +
>> +void kvm_arch_init_irq_routing(KVMState *s)
>> +{
>> +}
>> -- 
>> 1.7.10.4
> 
> http://patchwork.ozlabs.org/patch/240718/
> 
> I guess someone else updated the kernel headers first.

I did, in my tree :)
diff mbox

Patch

diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c
index 3ab2946..2bbc3b8 100644
--- a/target-ppc/kvm.c
+++ b/target-ppc/kvm.c
@@ -1797,3 +1797,7 @@  int kvm_arch_on_sigbus(int code, void *addr)
 {
     return 1;
 }
+
+void kvm_arch_init_irq_routing(KVMState *s)
+{
+}