Skip to content
Snippets Groups Projects
Commit 2c71b4f6 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Cédric Le Goater
Browse files

ppc/vhyp: reset exception state when handling vhyp hcall


Convention is to reset the exception_index and error_code after handling
an interrupt. The vhyp hcall handler fails to do this. This does not
appear to have ill effects because cpu_handle_exception() clears
exception_index later, but it is fragile and inconsistent. Reset the
exception state after handling vhyp hcall like other handlers.

Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
parent 17f826af
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment