[MIPS] Let gcc align 'struct pt_regs' on 8 bytes boundary
authorFranck Bui-Huu <fbuihuu@gmail.com>
Fri, 29 Sep 2006 09:08:59 +0000 (11:08 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Oct 2006 16:59:17 +0000 (17:59 +0100)
commit0e90f49b112e4c91dee7d61eccc06bcd25b9c534
tree13f1367842967033e83eeaef4e1830a0b37308c7
parent8ccb3dcd1f8e80e8702642e1de26541b52f6bb7c
[MIPS] Let gcc align 'struct pt_regs' on 8 bytes boundary

The stack pointer in MIPS/gcc should always 8 bytes aligned on
entry to any routines. Therefore pt_regs structure must be
aligned to 8-byte boundary too.

Instead of creating dummy fields to achieve this alignment, this
patch let gcc doing it. Therefore 'smtc_pad' field can be safely
removed.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/ptrace.h