linux-user: Avoid conditional cpu_reset()
authorAndreas Färber <afaerber@suse.de>
Wed, 10 Jul 2013 16:30:38 +0000 (18:30 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 22 Jul 2013 19:08:33 +0000 (22:08 +0300)
commit885a73f72b967900296d71c97cc7c560585a9086
treecf60b4eab5ce6db99a6d1086cd1ea831bd7fbc01
parent24cb36a61c663d98a53338620e88e4cd3403459a
linux-user: Avoid conditional cpu_reset()

Some CPUs reset as part of cpu_init(), some others were reset
afterwards, some not at all. While some targets didn't implement a
cpu_[state_]reset() function, QOM cpu_reset() is always available.
There's nothing wrong with resetting twice on startup, so drop
the #ifdef.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/main.c