Fixed a logic bug and potential null-pointer dereference.
commitc1349b895754a08eb02cc3c5c358cefb029cc979
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 7 Apr 2016 14:31:13 +0000 (7 14:31 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 7 Apr 2016 14:31:13 +0000 (7 14:31 +0000)
treea0cc64b65c11ddecf652e70784ae4d2e0cae444e
parentf2f9a95231edc0ed05a6cbb140027eabd921c30e
Fixed a logic bug and potential null-pointer dereference.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@52554 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/arm-native/kernel/kernel_scheduler.c