lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-11-21 17:09    [W:1.683 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site