lkml.org 
[lkml]   [2006]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Use target filename in BUG_ON and friends
From
Date
Sam Ravnborg <sam@ravnborg.org> writes:
>
> If gcc could be teached not to use full path for __FILE__ this would be
> an even better fix, but with current make O=.. support I have not found a
> way to do so.

I suppose you could ask the gcc people?

>
> Patch below only modify x86_64, but if this is accepted all arch's bug.h
> will be fixed.

Looks good to me.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-08 16:03    [W:0.072 / U:1.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site