diff options
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/include/pcb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arm/include/pcb.h b/sys/arm/include/pcb.h index 0806cd8..252d94e 100644 --- a/sys/arm/include/pcb.h +++ b/sys/arm/include/pcb.h @@ -80,7 +80,11 @@ struct pcb { struct pcb_arm32 un_32; struct vfp_state pcb_vfpstate; /* VP/NEON state */ u_int pcb_vfpcpu; /* VP/NEON last cpu */ -}; +} __aligned(8); /* + * We need the PCB to be aligned on 8 bytes, as we may + * access it using ldrd/strd, and some CPUs require it + * to by aligned on 8 bytes. + */ /* * No additional data for core dumps. |