public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] Fix alignment of __condata_*
@ 2006-10-12 19:18 Christoph Lameter
  0 siblings, 0 replies; only message in thread
From: Christoph Lameter @ 2006-10-12 19:18 UTC (permalink / raw)
  To: linux-ia64

Fix alignment for CONFIG_IA64_SGI

The _con.... variables happened to be placed on a 4 byte
boundary in some compiles for CONFIG_IA64_SGI. Wasted some time
chasing ghosts in functions that were never executed but modifications
to these function would oops the system. Make sure that
this does not happen again.

Signed-off-by: Christoph Lameter <clameter@sgi.com>

Index: linux-2.6.19-rc1-mm1/arch/ia64/kernel/vmlinux.lds.S
=================================--- linux-2.6.19-rc1-mm1.orig/arch/ia64/kernel/vmlinux.lds.S	2006-10-04 21:57:05.000000000 -0500
+++ linux-2.6.19-rc1-mm1/arch/ia64/kernel/vmlinux.lds.S	2006-10-10 21:45:30.768864235 -0500
@@ -163,6 +163,7 @@ SECTIONS
 	}
 #endif
 
+  . = ALIGN(16);
    __con_initcall_start = .;
   .con_initcall.init : AT(ADDR(.con_initcall.init) - LOAD_OFFSET)
 	{ *(.con_initcall.init) }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-12 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 19:18 [PATCH 1/4] Fix alignment of __condata_* Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox