« Previous | Next » 

Revision 885a73f7

ID885a73f72b967900296d71c97cc7c560585a9086

Added by Andreas Färber almost 11 years ago

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 <>
Signed-off-by: Andreas Färber <>
Cc: Eduardo Habkost <>
Signed-off-by: Riku Voipio <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences