x86/segment: Remove .fixup usage

Create and use EX_TYPE_ZERO_REG to clear the register and retry the
segment load on exception.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20211110101325.663529463@infradead.org
This commit is contained in:
Peter Zijlstra 2021-11-10 11:01:15 +01:00
commit 5fc77b916c
2 changed files with 2 additions and 8 deletions