Skip to content

Commit

Permalink
KVM: ia64: fix sparse warnings
Browse files Browse the repository at this point in the history
This patch fixes some sparse warning about "dubious one-bit signed bitfield."

Signed-off-by: Jeff Mahoney <[email protected]>
Originally-by: Jan Blunck <[email protected]>
Signed-off-by: Jan Blunck <[email protected]>
Acked-by: Xiantao Zhang <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
  • Loading branch information
jeffmahoney authored and avikivity committed May 22, 2011
1 parent 4429d5d commit b74323d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions arch/ia64/kvm/vti.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,26 @@
union vac {
unsigned long value;
struct {
int a_int:1;
int a_from_int_cr:1;
int a_to_int_cr:1;
int a_from_psr:1;
int a_from_cpuid:1;
int a_cover:1;
int a_bsw:1;
unsigned int a_int:1;
unsigned int a_from_int_cr:1;
unsigned int a_to_int_cr:1;
unsigned int a_from_psr:1;
unsigned int a_from_cpuid:1;
unsigned int a_cover:1;
unsigned int a_bsw:1;
long reserved:57;
};
};

union vdc {
unsigned long value;
struct {
int d_vmsw:1;
int d_extint:1;
int d_ibr_dbr:1;
int d_pmc:1;
int d_to_pmd:1;
int d_itm:1;
unsigned int d_vmsw:1;
unsigned int d_extint:1;
unsigned int d_ibr_dbr:1;
unsigned int d_pmc:1;
unsigned int d_to_pmd:1;
unsigned int d_itm:1;
long reserved:58;
};
};
Expand Down

0 comments on commit b74323d

Please sign in to comment.