Messages in this thread | | | From | Andy Lutomirski <> | Subject | [PATCH 0/3] x86_64: Merge (paranoid)?(zero|error)entry(_idt)? | Date | Wed, 21 May 2014 15:07:06 -0700 |
| |
Inspired by the RET vs IRET discussion, I thought about how much of a mess the current entry macros are and I shuddered at the thought of trying to modify them.
This little series merges them all into one idtentry macro that has arguments that specify all the various weird behaviors. It has a major benefit: you can now look at the code and see how, say, the has_error_code and !has_error_code cases differ.
Andy Lutomirski (3): x86_64: Add missing 'DEFAULT_FRAME 0' entry annotations x86_64: Merge most 64-bit asm entry macros x86_64: Merge paranoidzeroentry_ist into idtentry
arch/x86/kernel/entry_64.S | 185 ++++++++++++++++++++------------------------- 1 file changed, 80 insertions(+), 105 deletions(-)
-- 1.9.0
| |