x86: switch uses of TIF_IRET to TIF_NOTIFY_RESUME, kill TIF_IRET
TIF_IRET(i386) is used to force return to userland via iret, even if
we'd entered the kernel via sysenter. This, to put it mildly, is a
fucking ugly hack. Essentially, it acts as a silent duplicate of
NOTIFY_RESUME. do_notify_resume() clears it (as it clears NOTIFY_RESUME
itself). And i386 has glue treat it as something indistinguishable from
NOTIFY_RESUME, never mentioning either explicitly. _Any_ path going
through do_notify_resume() there will leave via iret - sysret is for
fast path only. So setting TIF_IRET (or, for that matter, TIF_NOTIFY_RESUME)
has an effect of forcing exit via iret.
That had been obfuscated just enough to have it copied to hexagon, m32r,
microblaze and xtensa. Neither of those ever sets it. Or has an analog
of the x86 issues that make forcing exit via iret needed there. Pure and
simple cargo-cult programming...