aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorStephen Rothwell <[email protected]>2009-06-30 11:41:15 -0700
committerLinus Torvalds <[email protected]>2009-06-30 18:55:59 -0700
commit15e3252464432a29c5461325cb5243471bd2a219 (patch)
treef5ea5e9a4d58fd8ac1c7e0d5f73a0c7979ab3eb2 /net/lapb/lapb_subr.c
parentc15e504bd008aedfcd2219051055b66bffdb6148 (diff)
fbdev: work around old compiler bug
When building with a 4.1.x compiler on powerpc64 (at least) we get this error: drivers/video/logo/logo_linux_mono.c:81: error: logo_linux_mono causes a section type conflict This was introduced by commit ae52bb2384f721562f15f719de1acb8e934733cb ("fbdev: move logo externs to header file"). This is a partial revert of that commit sufficient to not hit the compiler bug. Also convert _clut arrays from __initconst to __initdata. Sam said: Al analysed this some time ago. When we say something is const then _sometimes_ gcc annotate the section as const(?) - sometimes not. So if we have two variables/functions annotated __*const and gcc decides to annotate the section const only in one case we get a section type conflict. Signed-off-by: Stephen Rothwell <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Krzysztof Helt <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions