Re: [PATCH] Split out some macro's and move common code toparanoid_exit

From: Ingo Molnar
Date: Fri Nov 21 2008 - 11:07:05 EST



* Alexander van Heukelum <heukelum@xxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/