CVSROOT: /cvs/cluster
Module name: cluster
Changes by: [EMAIL PROTECTED] 2008-01-03 06:48:12
Modified files:
cman/daemon : commands.c
Log message:
Fix buffer align. So far this one makes the entire stack run on sparc
up to fenced.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&r1=1.80&r2=1.81
--- cluster/cman/daemon/commands.c 2008/01/02 16:35:44 1.80
+++ cluster/cman/daemon/commands.c 2008/01/03 06:48:12 1.81
@@ -1555,7 +1555,7 @@
void send_transition_msg(int last_memb_count, int first_trans)
{
- char buf[sizeof(struct cl_transmsg)+1024];
+ char buf[sizeof(struct cl_transmsg)+1024] __attribute__((aligned(8)));
struct cl_transmsg *msg = (struct cl_transmsg *)buf;
int len = sizeof(struct cl_transmsg);