[2.6 patch] remove exports for oem modules

From: Adrian Bunk
Date: Thu Mar 24 2005 - 20:55:29 EST


On Thu, Mar 24, 2005 at 04:41:14AM -0800, Andrew Morton wrote:
>...
> Chages since 2.6.12-rc1-mm1:
>...
> -revert-allow-oem-written-modules-to-make-calls-to-ia64-oem-sal-functions.patch
>
> Drop this - the modules are now in the kernel.
>...

As already discussed, there's still no module using this in the kernel.

The part of this patch that still applies is below.


<-- snip -->


These module exports have no GPL'ed callers.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.12-rc1-mm2-full/arch/ia64/kernel/sal.c.old 2005-03-25 01:31:22.000000000 +0100
+++ linux-2.6.12-rc1-mm2-full/arch/ia64/kernel/sal.c 2005-03-25 01:34:24.000000000 +0100
@@ -273,7 +273,6 @@
SAL_CALL(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
return 0;
}
-EXPORT_SYMBOL(ia64_sal_oemcall);

int
ia64_sal_oemcall_nolock(struct ia64_sal_retval *isrvp, u64 oemfunc, u64 arg1,
@@ -286,17 +285,3 @@
arg7);
return 0;
}
-EXPORT_SYMBOL(ia64_sal_oemcall_nolock);
-
-int
-ia64_sal_oemcall_reentrant(struct ia64_sal_retval *isrvp, u64 oemfunc,
- u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5,
- u64 arg6, u64 arg7)
-{
- if (oemfunc < IA64_SAL_OEMFUNC_MIN || oemfunc > IA64_SAL_OEMFUNC_MAX)
- return -1;
- SAL_CALL_REENTRANT(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6,
- arg7);
- return 0;
-}
-EXPORT_SYMBOL(ia64_sal_oemcall_reentrant);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/