aboutsummaryrefslogtreecommitdiff
path: root/slof/fs/instance.fs
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2011-11-25 12:35:35 +0100
committerThomas Huth <thuth@linux.vnet.ibm.com>2011-11-25 12:35:35 +0100
commit525e3b393b52ec04348d794b451c305a52e53337 (patch)
tree214400631afcef31b8864fd0c973993b18b461dd /slof/fs/instance.fs
parent54539073a963971b9e98dc64299a97b7e98cfd19 (diff)
downloadSLOF-525e3b393b52ec04348d794b451c305a52e53337.zip
SLOF-525e3b393b52ec04348d794b451c305a52e53337.tar.gz
SLOF-525e3b393b52ec04348d794b451c305a52e53337.tar.bz2
Fixed crash during "quiesce" when USB OHCI controller is enabledqemu-slof-20111128
The OHCI code unmaps the allocated DMA buffers during "quiesce". For this the dma-map-out and dma-free functions were using the $call-parent function that requires a valid current instance ("my-self"). However, there is no current instance available during "quiesce" so $call-parent aborted the boot process. To fix the problem, the dma-* functions now use $call-static again so that they also work without a current instance. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'slof/fs/instance.fs')
-rw-r--r--slof/fs/instance.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/slof/fs/instance.fs b/slof/fs/instance.fs
index 4ba42e5..9fc4bb0 100644
--- a/slof/fs/instance.fs
+++ b/slof/fs/instance.fs
@@ -151,7 +151,7 @@ CONSTANT <instancevariable>
0 VALUE calling-child
: $call-parent
- my-self TO calling-child
+ my-self ihandle>phandle TO calling-child
my-parent $call-method
0 TO calling-child
;