lkml.org 
[lkml]   [2009]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/4] jump label - base patch
From
Date
On Thu, 2009-09-24 at 17:49 -0700, Roland McGrath wrote:
> > +#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
> > +#define __HAVE_ARCH_JUMP_LABEL
> > +#endif
>
> Put this in linux/compiler-gcc4.h (there only test __GNUC_MINOR__).
> If icc/whoever adds asm goto they can define it too.

We need to be careful here. This code also depends on the text_poke
implementation that is not defined for every arch.

The code around DEFINE_TRACE can be updated to test for
__HAVE_ARCH_JUMP_LABEL as well the config to know if we have text_poke.

-- Steve




\
 
 \ /
  Last update: 2009-09-26 12:25    [W:0.066 / U:0.560 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site