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