[IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly
authorJack Steiner <steiner@sgi.com>
Tue, 7 Feb 2006 17:24:14 +0000 (09:24 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 7 Feb 2006 17:24:14 +0000 (09:24 -0800)
commitdcc1dd2366a7c355fd8b6543c52685b864a2044f
treec1fa5734246518c4cd0da82ec151eb905fd1b375
parent412e6a378260608bf28f29d4fa8a9241e0240a2d
[IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly

Rewrite the SN pio_phys_xxx macros in assembly language. This
avoids issues with the Intel icc compiler. Function call
overhead is not an issue - the functions reference PIOs
and take 100's nsec to complete.

In addition, the functions should likely be in assembly
language anyway - they reference memory using physical
addressing mode. One function executes with psr.ic disabled.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/Makefile
arch/ia64/sn/kernel/pio_phys.S [new file with mode: 0644]
include/asm-ia64/sn/rw_mmr.h