]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[IA64] abstract SAL_CALL wrapper to allow other firmware entry points
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Thu, 20 Sep 2007 20:21:11 +0000 (14:21 -0600)
committerTony Luck <tony.luck@intel.com>
Fri, 12 Oct 2007 22:11:22 +0000 (15:11 -0700)
commitedbe7075d144b35e8232ca32f373c1e0c26ff085
tree071018351041af71e3e5dc141b5f2a336d893573
parent8e75ad8908bd653191b19347ecccb4078cb17b74
[IA64] abstract SAL_CALL wrapper to allow other firmware entry points

SAL_CALL() always calls through the ia64_sal function pointer.  I am adding
new functionality that needs the same conventions as SAL_CALL (FP regs
saved/restored, sal_lock acquired, etc), but doesn't use the ia64_sal
function pointer.

This patch pulls the body of SAL_CALL out into a new "IA64_FW_CALL" that
takes care of these calling conventions, but allows the caller to specify
either ia64_sal or some other firmware entry point.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/sal.h