lkml.org 
[lkml]   [2012]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: WARNING: arch/x86/built-in.o: Section mismatch in reference from the variable test_nmi_ipi_callback_na to function .ini.text:test_nmi_ipi_callback
On Mon, Jun 04, 2012 at 07:59:41AM -0700, H. Peter Anvin wrote:
> On 06/04/2012 07:36 AM, Don Zickus wrote:
> >
> > Basically the test registers two nmi_handlers, run some tests, and
> > then unregisters them. Those handlers are what the compiler seems to be
> > complaining about. I do not know what magic to pass the compiler to let
> > it know that both of the handlers will be unregistered before the init
> > section is destroyed.
> >
> > Perhaps I should tag those callbacks with __ref? I am not sure the right
> > thing to do here.
> >
>
> Using __ref is the right thing, although __ref is hard to use right...

Thanks! I'll poke at it and see how lucky I get.

Cheers,
Don


\
 
 \ /
  Last update: 2012-06-04 19:41    [W:0.074 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site