mach-at91: sam7s: fix status checking
scheduler: debug print