Whamcloud - gitweb
b=2914
authornic <nic>
Wed, 10 Mar 2004 20:01:20 +0000 (20:01 +0000)
committernic <nic>
Wed, 10 Mar 2004 20:01:20 +0000 (20:01 +0000)
r=jacob

remove __attribute__ ((packed)) from ptl_event_t to fix 'kernel unaligned
access...' messages on ia64

lnet/include/lnet/types.h
lustre/portals/include/portals/types.h

index d4ca453..74ef493 100644 (file)
@@ -135,7 +135,7 @@ typedef struct {
         struct timeval     arrival_time;
 
         volatile ptl_seq_t sequence;
         struct timeval     arrival_time;
 
         volatile ptl_seq_t sequence;
-} __attribute__((packed)) ptl_event_t;
+} ptl_event_t;
 #ifdef __CYGWIN__
 #pragma pop
 #endif
 #ifdef __CYGWIN__
 #pragma pop
 #endif
index d4ca453..74ef493 100644 (file)
@@ -135,7 +135,7 @@ typedef struct {
         struct timeval     arrival_time;
 
         volatile ptl_seq_t sequence;
         struct timeval     arrival_time;
 
         volatile ptl_seq_t sequence;
-} __attribute__((packed)) ptl_event_t;
+} ptl_event_t;
 #ifdef __CYGWIN__
 #pragma pop
 #endif
 #ifdef __CYGWIN__
 #pragma pop
 #endif