genode/repos/dde_rump/patches/aarch64.patch

21 lines
566 B
Diff
Raw Normal View History

2019-11-28 15:02:52 +00:00
diff --git a/arm/arm32/kobj_machdep.c b/arm/arm32/kobj_machdep.c
index 6fc772f..146f580 100644
--- src/lib/dde_rump_backport/arm/arm32/kobj_machdep.c
+++ src/lib/dde_rump_backport/arm/arm32/kobj_machdep.c
2019-11-28 15:02:52 +00:00
@@ -66,6 +66,7 @@ __KERNEL_RCSID(0, "$NetBSD: kobj_machdep.c,v 1.10 2014/11/07 21:28:32 martin Exp
#include <sys/kobj_impl.h>
#include <arm/cpufunc.h>
+#ifndef _RUMPKERNEL
#include <arm/locore.h>
int
@@ -206,6 +207,7 @@ kobj_reloc(kobj_t ko, uintptr_t relocbase, const void *data,
rtype, where, symidx);
return -1;
}
+#endif
#if __ARMEB__