lkml.org 
[lkml]   [1999]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] four warnings and a patch
Date
From
> sched.c:124: warning: alignment of `aligned_data' is greater than maximum
> object file alignment
> irq.c:77: warning: alignment of `irq_desc' is greater than maximum object
> file alignment
> init_task.c:33: warning: alignment of `init_tss' is greater than maximum
> object file alignment
>
> I'm quite sure that they are related to NR_CPUS (hence they cause problems
> for UP users) but no serious damage occurs that I am aware of. Removing
> __cacheline_aligned fixes the problem, but I'm not sure if it will affect
> SMP systems.

The __cacheline_aligned is fine. What binutils are you using. They should be
happy with the request made

> 8390.c:1092: warning: unused variable `ei_local'
> The patch removes this line.

This is a subtle one. It is used on some platforms. You aren't the first
to be confused by it.

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.047 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site