target-ppc: fix typo in _cpu_ppc_load_decr
authorTristan Gingold <gingold@adacore.com>
Mon, 27 Apr 2009 08:55:47 +0000 (10:55 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 12 Jul 2009 21:32:11 +0000 (23:32 +0200)
commit83df18b35fa1a88fcc3b1240fb5a4cf71a3a10e7
treea57a4faf86ae27a9012b10a2fb0e7f596d371313
parent81aa6d658dbab7c55d0ef85b77498240ece39634
target-ppc: fix typo in _cpu_ppc_load_decr

Use parameter 'next' to fix the hdecr case.
Also pass 'next' by value instead of pointer (more easy to read and no
performance issue for an always_inline function).

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/ppc.c