Re: [RFC] Use target filename in BUG_ON and friends

From: Andi Kleen
Date: Sat Jul 08 2006 - 09:59:16 EST


Sam Ravnborg <sam@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/