Use carry bit in EFLAGS to pass thread state to ex_reg caller. Do not touch other bits, which might disable interrupts on kernel exit. Fixes ssumpf/foc#2.
Use carry bit in EFLAGS to pass thread state to ex_reg caller. Do not touch other bits, which might disable interrupts on kernel exit. Fixes ssumpf/foc#2.