]> Git Repo - qemu.git/commit
scripts/update-linux-headers: Handle __aligned_u64
authorPeter Maydell <[email protected]>
Fri, 25 May 2018 13:27:51 +0000 (14:27 +0100)
committerPaolo Bonzini <[email protected]>
Fri, 1 Jun 2018 13:14:31 +0000 (15:14 +0200)
commitc5022c31c2b7be863a2f58ae5af52717e017825b
tree5c6b801e982604e04b4aaa39e48ce120c6eec8c6
parenta8bff79e9f27dfe0f1427bc824cebe45400d6c19
scripts/update-linux-headers: Handle __aligned_u64

We'll currently replace any 'u64' with a 'uint64_t' including when
it's embedded in an '__aligned_u64', creating a '__aligned_uint64_t'
which doesn't exist. We need to instead expand out the kernel's
definition of __aligned_u64:
   #define __aligned_u64 __u64 __attribute__((aligned(8)))
before we convert the __u64 to uint64_t.

Signed-off-by: Peter Maydell <[email protected]>
Message-Id: <20180525132755[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
scripts/update-linux-headers.sh
This page took 0.025059 seconds and 4 git commands to generate.