Messages in this thread | | | Date | Fri, 21 Nov 2008 17:06:29 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] Split out some macro's and move common code to paranoid_exit |
| |
* Alexander van Heukelum <heukelum@mailshack.com> wrote:
> /* runs on exception stack */ > ENTRY(stack_segment) > - XCPT_FRAME > - PARAVIRT_ADJUST_EXCEPTION_FRAME > - paranoidentry do_stack_segment > - jmp paranoid_exit > - CFI_ENDPROC > + paranoiderrorentry do_stack_segment > END(stack_segment)
cool!
Could you please also collapse it into just a single macro? The ENTRY/END sequence can be generated by the macro. (if you do it then please do it in a followup patch, i'll look at and apply your current series)
Something like:
PARANOID_ERROR_ENTRY(stack_segment)
Could do all the magic, right?
Ingo
| |