Re: [PATCH] Linux Kernel Markers 0.20 for 2.6.17

From: Jeremy Fitzhardinge
Date: Tue Oct 17 2006 - 15:32:44 EST


Mathieu Desnoyers wrote:
I guess the correct way to handle it will be to put a "used" attribute in the
asm-generic/marker.h code, remove the unnecessary "unused" attribute in
asm-powerpc/marker.h and tell people to upgrade their gcc when it is broken.

It's subtle because it quietly drops the section with no other symptoms. It could slip by unnoticed for quite a while.

The other way around would be to make the macro "use" the structure somewhere
without any impact.
asm volatile("" : : "m" (thing));

J
-
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/