lkml.org 
[lkml]   [2008]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 13 Oct 2008 16:50:51 +0200
FromJiri Slaby <>
SubjectRe: GIT head no longer boots on x86-64
On 10/13/2008 04:45 PM, Linus Torvalds wrote:
>
> On Mon, 13 Oct 2008, Jiri Slaby wrote:
>> + sprint_symbol(buf, (unsigned long)__builtin_return_address(0));
>> + if (!is_vmalloc_addr(vmalloc_addr) && !is_module_address(addr))
>> + printk("BUG? %s (from %s): %p\n", __func__, buf, vmalloc_addr);
>
> Just use
>
> printk("BUG? %s (from %pS): %p\n",
> __func__,
> __builtin_return_address(0),
> vmalloc_addr);
>
> and don't ever sprint_symbol() any more.

Ok, thanks, I knew about it, but didn't remember it while I was hacking that
debug patch.


\
 
 \ /
  Last update: 2008-10-13 16:53    [from the cache]
©2003-2010