diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-06 12:41:53 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-06-04 23:00:41 +0200 |
commit | 15be3171392a14cb90abd89ac7310681556f736e (patch) | |
tree | aa94158ba64f8b1ec057cb6cfbe79f63373d0a74 /target-xtensa/cpu.c | |
parent | f6932a867d862a5d39506701e9b9d8abcdf1f4ff (diff) | |
download | qemu-15be3171392a14cb90abd89ac7310681556f736e.tar.gz qemu-15be3171392a14cb90abd89ac7310681556f736e.tar.bz2 qemu-15be3171392a14cb90abd89ac7310681556f736e.zip |
target-xtensa: Let cpu_xtensa_init() return XtensaCPU
Make the include paths for cpu-qom.h consistent to allow using XtensaCPU
in cpu.h.
Turn cpu_init macro into a static inline function returning
CPUXtensaState for backwards compatibility.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target-xtensa/cpu.c')
-rw-r--r-- | target-xtensa/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-xtensa/cpu.c b/target-xtensa/cpu.c index 97deacb478..9d01983d44 100644 --- a/target-xtensa/cpu.c +++ b/target-xtensa/cpu.c @@ -28,7 +28,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "cpu-qom.h" +#include "cpu.h" #include "qemu-common.h" |