Skip to content

Commit

Permalink
[IA64] sparse cleanup of shub_mmr.h
Browse files Browse the repository at this point in the history
This patch is a sparse compile cleanup of shub_mmr.h using both the defconfig
and the sn2_defconfig config files.

The issue with this file was the missing usage of __IA64_UL_CONST wrapper.
This wrapper is defined in include/asm-ia64/types.h and wraps a long
constant definition with UL or with nothing depending on its usage in the
kernel.  The missing wrapper caused many sparse compile errors like

        warning: constant 0x0x0000000010000380 so big it is long

Signed-off-by: Prarit Bhargava <prarit@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Prarit Bhargava authored and Tony Luck committed Jun 28, 2005
1 parent 458f935 commit 8e4641b
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 172 deletions.
1 change: 1 addition & 0 deletions arch/ia64/sn/kernel/sn2/ptc_deadlock.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Copyright (C) 2000-2004 Silicon Graphics, Inc. All rights reserved.
*/

#include <asm/types.h>
#include <asm/sn/shub_mmr.h>

#define DEADLOCKBIT SH_PIO_WRITE_STATUS_WRITE_DEADLOCK_SHFT
Expand Down
Loading

0 comments on commit 8e4641b

Please sign in to comment.