]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace: remove packed attribute on ftrace_page.
authorDavid Miller <davem@davemloft.net>
Wed, 14 May 2008 05:06:56 +0000 (22:06 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 20:35:57 +0000 (22:35 +0200)
commitaa5e5ceaf52a882a29d9b86531a20733f5116066
treeedfa557db13cce863a3c68fbd72bed473f83e1f7
parent74f4e369fc5b52433ad824cef32d3bf1304549be
ftrace: remove packed attribute on ftrace_page.

It causes unaligned access traps on platforms like sparc
(ftrace_page may be marked packed, but once we return
a dyn_ftrace sub-object from this array to another piece
of code, the "packed" part of the typing information doesn't
propagate).

But also, it didn't serve any purpose either.  Even if packed,
on 64-bit or 32-bit, it didn't give us any more dyn_ftrace
entries per-page.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/ftrace.c