ia64/xen-unstable

changeset 14731:94dfb13cbbed

xen: No use of packed attribute in public headers.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
author kfraser@localhost.localdomain
date Thu Apr 05 08:43:21 2007 +0100 (2007-04-05)
parents 3121ffb809e9
children 97453bb714b9
files xen/include/public/acm.h
line diff
     1.1 --- a/xen/include/public/acm.h	Thu Apr 05 08:42:34 2007 +0100
     1.2 +++ b/xen/include/public/acm.h	Thu Apr 05 08:43:21 2007 +0100
     1.3 @@ -124,7 +124,7 @@ struct acm_policy_version
     1.4  {
     1.5      uint32_t major;
     1.6      uint32_t minor;
     1.7 -} __attribute__((packed));
     1.8 +};
     1.9  
    1.10  
    1.11  /* each buffer consists of all policy information for
    1.12 @@ -145,12 +145,12 @@ struct acm_policy_buffer {
    1.13      uint32_t secondary_policy_code;
    1.14      uint32_t secondary_buffer_offset;
    1.15      struct acm_policy_version xml_pol_version; /* add in V3 */
    1.16 -} __attribute__((packed));
    1.17 +};
    1.18  
    1.19  
    1.20  struct acm_policy_reference_buffer {
    1.21      uint32_t len;
    1.22 -} __attribute__((packed));
    1.23 +};
    1.24  
    1.25  struct acm_chwall_policy_buffer {
    1.26      uint32_t policy_version; /* ACM_CHWALL_VERSION */
    1.27 @@ -162,7 +162,7 @@ struct acm_chwall_policy_buffer {
    1.28      uint32_t chwall_conflict_sets_offset;
    1.29      uint32_t chwall_running_types_offset;
    1.30      uint32_t chwall_conflict_aggregate_offset;
    1.31 -} __attribute__((packed));
    1.32 +};
    1.33  
    1.34  struct acm_ste_policy_buffer {
    1.35      uint32_t policy_version; /* ACM_STE_VERSION */
    1.36 @@ -170,7 +170,7 @@ struct acm_ste_policy_buffer {
    1.37      uint32_t ste_max_types;
    1.38      uint32_t ste_max_ssidrefs;
    1.39      uint32_t ste_ssid_offset;
    1.40 -} __attribute__((packed));
    1.41 +};
    1.42  
    1.43  struct acm_stats_buffer {
    1.44      uint32_t magic;
    1.45 @@ -179,7 +179,7 @@ struct acm_stats_buffer {
    1.46      uint32_t primary_stats_offset;
    1.47      uint32_t secondary_policy_code;
    1.48      uint32_t secondary_stats_offset;
    1.49 -} __attribute__((packed));
    1.50 +};
    1.51  
    1.52  struct acm_ste_stats_buffer {
    1.53      uint32_t ec_eval_count;
    1.54 @@ -188,7 +188,7 @@ struct acm_ste_stats_buffer {
    1.55      uint32_t gt_denied_count;
    1.56      uint32_t ec_cachehit_count;
    1.57      uint32_t gt_cachehit_count;
    1.58 -} __attribute__((packed));
    1.59 +};
    1.60  
    1.61  struct acm_ssid_buffer {
    1.62      uint32_t len;
    1.63 @@ -200,7 +200,7 @@ struct acm_ssid_buffer {
    1.64      uint32_t secondary_policy_code;
    1.65      uint32_t secondary_max_types;
    1.66      uint32_t secondary_types_offset;
    1.67 -} __attribute__((packed));
    1.68 +};
    1.69  
    1.70  #endif
    1.71