[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 83e681: target-arm: Switch ARMCPUInfo arrays
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 83e681: target-arm: Switch ARMCPUInfo arrays to use termin... |
Date: |
Mon, 13 Jan 2014 16:30:03 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 83e6813a93e38976391b8c382c3375e3e188df3e
https://github.com/qemu/qemu/commit/83e6813a93e38976391b8c382c3375e3e188df3e
Author: Peter Maydell <address@hidden>
Date: 2014-01-13 (Mon, 13 Jan 2014)
Changed paths:
M target-arm/cpu.c
M target-arm/cpu64.c
Log Message:
-----------
target-arm: Switch ARMCPUInfo arrays to use terminator entries
Switch the ARMCPUInfo arrays in cpu.c and cpu64.c to use a terminator
entry rather than looping based on ARRAY_SIZE. The latter causes
compile warnings on some versions of gcc if the configure options
happen to result in an empty array.
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Tested-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 83e681: target-arm: Switch ARMCPUInfo arrays to use termin...,
GitHub <=