Re: [PATCH] Linux Kernel Markers 0.20 for 2.6.17

Jeremy Fitzhardinge <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.kernel.tracing,gmane.linux.systemtap
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.