Patchwork target-ppc kvm: missing kvm_arch_init_irq_routing

login
register
mail settings
Submitter Alexey Kardashevskiy
Date May 30, 2013, 9:25 a.m.
Message ID <1369905933-27199-1-git-send-email-aik@ozlabs.ru>
Download mbox | patch
Permalink /patch/247502/
State New
Headers show

Comments

Alexey Kardashevskiy - May 30, 2013, 9:25 a.m.
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(+)
Scott Wood - May 30, 2013, 3:58 p.m.
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.
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 :)

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)
+{
+}