lkml.org 
[lkml]   [2006]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Linux Kernel Markers 0.20 for 2.6.17
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@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-10-17 21:35    [W:2.063 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site