diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-01-20 12:58:48 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-01-30 23:37:37 +1100 |
commit | 1e49182d05016756be3c7c43a4934f5104717512 (patch) | |
tree | 4ad5d66af2737d90867ec33dd97a29dbf903d0a2 /hw/openrisc | |
parent | adf9ac50dbb183f83c4f430738e0271a1a2039aa (diff) |
pseries: Clean up error handling in xics_system_init()
Use the error handling infrastructure to pass an error out from
try_create_xics() instead of assuming &error_abort - the caller is in a
better position to decide on error handling policy.
Also change the error handling from an &error_abort to &error_fatal, since
this occurs during the initial machine construction and could be triggered
by bad configuration rather than a program error.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/openrisc')
0 files changed, 0 insertions, 0 deletions