[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 1/1] crypto: add virtio-crypto driver
From: |
Sam Ravnborg |
Subject: |
Re: [Qemu-devel] [PATCH v5 1/1] crypto: add virtio-crypto driver |
Date: |
Wed, 7 Dec 2016 21:20:39 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Dec 05, 2016 at 03:12:52AM +0000, Gonglei (Arei) wrote:
> I don't think the root cause of those warnings are introduced by
> virtio-crypto driver.
>
> What's your opinion? Sam and David?
Root cause here is that arch/sparc/include/asm/topology_64.h
references cpu_data without including arch/sparc/include/asm/cpudata.h
I think other architectures pull in the dependency from
either smp.h or they have it topology.h.
The easy fix would be to include cpudata.h in
arch/sparc/include/asm/topology_64.h.
And that should also be a correct fix.
Could you include this in your patch-set and build test it?
Sam