Messages in this thread | | | Subject | Re: [PATCH] four warnings and a patch | Date | Thu, 28 Oct 1999 22:40:32 +0100 (BST) | From | Alan Cox <> |
| |
> 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/
| |