parisc: Fix memory overwrite of PDC_SYSTEM_MAP PDC_FIND_MODULE PDC call Fix pdc_call(PDC_SYSTEM_MAP, PDC_FIND_MODULE, ...) to not overwrite the ARG2 result struct. This fixes a boot problem on emulated C3700. Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c index f8f3650..e526157 100644 --- a/src/parisc/parisc.c +++ b/src/parisc/parisc.c
@@ -2234,8 +2234,6 @@ dprintf(1, "\n"); } - memset(result, 0, 32*sizeof(long)); - mod_path = (struct pdc_module_path *)ARG3; if (mod_path) *mod_path = *dev->mod_path;