summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Owens <kaos@sgi.com>2007-03-01 16:19:00 +1100
committerTony Luck <tony.luck@intel.com>2007-03-08 10:28:48 -0800
commit1f0ef4ef60b4ef0a18dfc50938f3a94c5edd66ce (patch)
tree2f22cf5ee2ba30f2fca58cc368ed8698cc8f1767
parent8e43d75ad0bd8a90933abb005ef57caf63ce8541 (diff)
downloadop-kernel-dev-1f0ef4ef60b4ef0a18dfc50938f3a94c5edd66ce.zip
op-kernel-dev-1f0ef4ef60b4ef0a18dfc50938f3a94c5edd66ce.tar.gz
[IA64] Remove sparse warning from unwind code
Running ia64 through sparse gives warnings in the unwind code. include/asm-ia64/unwind.h:84:17: error: dubious bitfield without explicit `signed' or `unsigned' Make the bitfield explicitly unsigned. Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--include/asm-ia64/unwind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/unwind.h b/include/asm-ia64/unwind.h
index 5df0276..1af3875 100644
--- a/include/asm-ia64/unwind.h
+++ b/include/asm-ia64/unwind.h
@@ -81,7 +81,7 @@ struct unw_frame_info {
struct unw_ireg {
unsigned long *loc;
struct unw_ireg_nat {
- long type : 3; /* enum unw_nat_type */
+ unsigned long type : 3; /* enum unw_nat_type */
signed long off : 61; /* NaT word is at loc+nat.off */
} nat;
} r4, r5, r6, r7;
OpenPOWER on IntegriCloud