[2.6 patch] __deprecated_for_modules insert_resource

From: Adrian Bunk
Date: Sun May 01 2005 - 20:48:14 EST


On Sat, Apr 23, 2005 at 04:44:11PM -0700, Andrew Morton wrote:
> Adrian Bunk <bunk@xxxxxxxxx> wrote:
> >
> > I didn't find any possible modular usage in the kernel.
> >
>
> True, but this looks like something which out-of-tree code could possibly
> be using. I'd prefer to see this one get the deprecated_for_modules
> twelve-month treatment.
>...

Patch below.

cu
Adrian


<-- snip -->


--- linux-2.6.12-rc3-mm2-full/Documentation/feature-removal-schedule.txt.old 2005-05-01 23:59:05.000000000 +0200
+++ linux-2.6.12-rc3-mm2-full/Documentation/feature-removal-schedule.txt 2005-05-02 00:00:17.000000000 +0200
@@ -57,0 +58,8 @@
+
+---------------------------
+
+What: remove EXPORT_SYMBOL(insert_resource)
+When: April 2006
+Files: kernel/resource.c
+Why: No modular usage in the kernel.
+Who: Adrian Bunk <bunk@xxxxxxxxx>
--- linux-2.6.12-rc3-mm2-full/include/linux/ioport.h.old 2005-05-02 00:00:30.000000000 +0200
+++ linux-2.6.12-rc3-mm2-full/include/linux/ioport.h 2005-05-02 00:00:56.000000000 +0200
@@ -97 +97 @@
-extern int insert_resource(struct resource *parent, struct resource *new);
+extern __deprecated_for_modules int insert_resource(struct resource *parent, struct resource *new);

-
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/