From 32814204b6618582c08cb319da64b684408714c1 Mon Sep 17 00:00:00 2001 From: NicJA Date: Tue, 28 Apr 2015 10:59:29 +0000 Subject: [PATCH] use correct thistask access git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50483 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/arm-native/exec/platform_init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm-native/exec/platform_init.c b/arch/arm-native/exec/platform_init.c index 3c7ab29910..db04c1e5a7 100644 --- a/arch/arm-native/exec/platform_init.c +++ b/arch/arm-native/exec/platform_init.c @@ -17,6 +17,8 @@ #include #include +#include "exec_intern.h" + /* Linked from kernel.resource, * need to retrieve in a cleaner fashion .. */ extern IPTR stack[]; @@ -29,7 +31,7 @@ static int PlatformInit(struct ExecBase *SysBase) { D(bug("[Exec] PlatformInit()\n")); - struct Task *BootTask = SysBase->ThisTask; + struct Task *BootTask = GET_THIS_TASK; D(bug("[Exec] PlatformInit: Boot Task @ 0x%p\n", BootTask)); /* for our sanity we will tell exec about the correct stack for the boot task */ -- 2.11.4.GIT