===== arch/ia64/kernel/sal.c 1.11 vs edited ===== --- 1.11/arch/ia64/kernel/sal.c 2004-07-09 00:11:46 +00:00 +++ edited/arch/ia64/kernel/sal.c 2004-08-19 17:02:07 +00:00 @@ -10,6 +10,7 @@ #include #include +#include #include #include @@ -262,3 +263,15 @@ p += SAL_DESC_SIZE(*p); } } + +int +oem_sal_call(struct ia64_sal_retval *isrvp, u64 oemfunc, u64 arg1, u64 arg2, + u64 arg3, u64 arg4, u64 arg5, u64 arg6, u64 arg7) +{ + if (oemfunc < 0x02000000 || oemfunc > 0x03ffffff) + return -1; + SAL_CALL(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + return 0; +} + +EXPORT_SYMBOL(oem_sal_call);