lkml.org 
[lkml]   [2010]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Linux 2.6.37-rc3 (fixmap build error)
On Sun, Nov 21, 2010 at 6:16 PM, Randy Dunlap <randy.dunlap@oracle.com> wrote:
>
> I thought that I saw a patch for this one, but I can't find it now.
>
> on i386:
> arch/x86/built-in.o: In function `fix_to_virt':
> /usr/builds/linux-2.6.37-rc3/arch/x86/include/asm/fixmap.h:207: undefined reference to `__this_fixmap_does_not_exist'

Hmm. Does it help to mark __set_fixmap_offset() as "__always_inline"
rather than just "inline"?

Every single "fix_to_virt()" user _should_ use a constant index and
that thing should be inlined and the __this_fixmap_does_not_exist case
should be trivially optimized away.

But if __set_fixmap_offset() doesn't get inlined...

Linus


\
 
 \ /
  Last update: 2010-11-22 05:35    [W:0.078 / U:24.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site