public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] the scheduled unexport of insert_resource
@ 2006-04-10 22:14 Adrian Bunk
  2006-04-11 16:41 ` Kumar Gala
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2006-04-10 22:14 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Kumar Gala, Greg KH

This patch contains the scheduled unexport of insert_resource.

Kumar Gala said that some not yet submitted code uses it [1], but since 
there is after one month still no code submission, and reverting the 
exporting it again is trivial if it is both submitted and considered 
acceptable for inclusion this shouldn't be a problem.

[1] http://lkml.org/lkml/2006/4/1/28

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 Documentation/feature-removal-schedule.txt |    8 --------
 include/linux/ioport.h                     |    2 +-
 kernel/resource.c                          |    2 --
 3 files changed, 1 insertion(+), 11 deletions(-)

--- linux-2.6.17-rc1-mm2-full/Documentation/feature-removal-schedule.txt.old	2006-04-10 20:52:23.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/Documentation/feature-removal-schedule.txt	2006-04-10 20:52:36.000000000 +0200
@@ -72,14 +72,6 @@
 
 ---------------------------
 
-What:	remove EXPORT_SYMBOL(insert_resource)
-When:	April 2006
-Files:	kernel/resource.c
-Why:	No modular usage in the kernel.
-Who:	Adrian Bunk <bunk@stusta.de>
-
----------------------------
-
 What:	PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl])
 When:	November 2005
 Files:	drivers/pcmcia/: pcmcia_ioctl.c
--- linux-2.6.17-rc1-mm2-full/include/linux/ioport.h.old	2006-04-10 20:52:46.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/include/linux/ioport.h	2006-04-10 20:52:55.000000000 +0200
@@ -95,7 +95,7 @@
 extern int request_resource(struct resource *root, struct resource *new);
 extern struct resource * ____request_resource(struct resource *root, struct resource *new);
 extern int release_resource(struct resource *new);
-extern __deprecated_for_modules int insert_resource(struct resource *parent, struct resource *new);
+extern int insert_resource(struct resource *parent, struct resource *new);
 extern int allocate_resource(struct resource *root, struct resource *new,
 			     u64 size,
 			     u64 min, u64 max,
--- linux-2.6.17-rc1-mm2-full/kernel/resource.c.old	2006-04-10 20:53:04.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/kernel/resource.c	2006-04-10 20:53:11.000000000 +0200
@@ -381,8 +381,6 @@
 	return result;
 }
 
-EXPORT_SYMBOL(insert_resource);
-
 /*
  * Given an existing resource, change its start and size to match the
  * arguments.  Returns -EBUSY if it can't fit.  Existing children of


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] the scheduled unexport of insert_resource
  2006-04-10 22:14 Adrian Bunk
@ 2006-04-11 16:41 ` Kumar Gala
  0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2006-04-11 16:41 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel, Greg KH

I'm fine with this.  I'll deal with getting my bus code out in the  
future.

- k

On Apr 10, 2006, at 5:14 PM, Adrian Bunk wrote:

> This patch contains the scheduled unexport of insert_resource.
>
> Kumar Gala said that some not yet submitted code uses it [1], but  
> since
> there is after one month still no code submission, and reverting the
> exporting it again is trivial if it is both submitted and considered
> acceptable for inclusion this shouldn't be a problem.
>
> [1] http://lkml.org/lkml/2006/4/1/28
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
>
>  Documentation/feature-removal-schedule.txt |    8 --------
>  include/linux/ioport.h                     |    2 +-
>  kernel/resource.c                          |    2 --
>  3 files changed, 1 insertion(+), 11 deletions(-)
>
> --- linux-2.6.17-rc1-mm2-full/Documentation/feature-removal- 
> schedule.txt.old	2006-04-10 20:52:23.000000000 +0200
> +++ linux-2.6.17-rc1-mm2-full/Documentation/feature-removal- 
> schedule.txt	2006-04-10 20:52:36.000000000 +0200
> @@ -72,14 +72,6 @@
>
>  ---------------------------
>
> -What:	remove EXPORT_SYMBOL(insert_resource)
> -When:	April 2006
> -Files:	kernel/resource.c
> -Why:	No modular usage in the kernel.
> -Who:	Adrian Bunk <bunk@stusta.de>
> -
> ----------------------------
> -
>  What:	PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl])
>  When:	November 2005
>  Files:	drivers/pcmcia/: pcmcia_ioctl.c
> --- linux-2.6.17-rc1-mm2-full/include/linux/ioport.h.old	2006-04-10  
> 20:52:46.000000000 +0200
> +++ linux-2.6.17-rc1-mm2-full/include/linux/ioport.h	2006-04-10  
> 20:52:55.000000000 +0200
> @@ -95,7 +95,7 @@
>  extern int request_resource(struct resource *root, struct resource  
> *new);
>  extern struct resource * ____request_resource(struct resource  
> *root, struct resource *new);
>  extern int release_resource(struct resource *new);
> -extern __deprecated_for_modules int insert_resource(struct  
> resource *parent, struct resource *new);
> +extern int insert_resource(struct resource *parent, struct  
> resource *new);
>  extern int allocate_resource(struct resource *root, struct  
> resource *new,
>  			     u64 size,
>  			     u64 min, u64 max,
> --- linux-2.6.17-rc1-mm2-full/kernel/resource.c.old	2006-04-10  
> 20:53:04.000000000 +0200
> +++ linux-2.6.17-rc1-mm2-full/kernel/resource.c	2006-04-10  
> 20:53:11.000000000 +0200
> @@ -381,8 +381,6 @@
>  	return result;
>  }
>
> -EXPORT_SYMBOL(insert_resource);
> -
>  /*
>   * Given an existing resource, change its start and size to match the
>   * arguments.  Returns -EBUSY if it can't fit.  Existing children of


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [2.6 patch] the scheduled unexport of insert_resource
@ 2006-04-18 22:07 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2006-04-18 22:07 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

This patch contains the scheduled unexport of insert_resource.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 11 Apr 2006

 Documentation/feature-removal-schedule.txt |    8 --------
 include/linux/ioport.h                     |    2 +-
 kernel/resource.c                          |    2 --
 3 files changed, 1 insertion(+), 11 deletions(-)

--- linux-2.6.17-rc1-mm2-full/Documentation/feature-removal-schedule.txt.old	2006-04-10 20:52:23.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/Documentation/feature-removal-schedule.txt	2006-04-10 20:52:36.000000000 +0200
@@ -72,14 +72,6 @@
 
 ---------------------------
 
-What:	remove EXPORT_SYMBOL(insert_resource)
-When:	April 2006
-Files:	kernel/resource.c
-Why:	No modular usage in the kernel.
-Who:	Adrian Bunk <bunk@stusta.de>
-
----------------------------
-
 What:	PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl])
 When:	November 2005
 Files:	drivers/pcmcia/: pcmcia_ioctl.c
--- linux-2.6.17-rc1-mm2-full/include/linux/ioport.h.old	2006-04-10 20:52:46.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/include/linux/ioport.h	2006-04-10 20:52:55.000000000 +0200
@@ -95,7 +95,7 @@
 extern int request_resource(struct resource *root, struct resource *new);
 extern struct resource * ____request_resource(struct resource *root, struct resource *new);
 extern int release_resource(struct resource *new);
-extern __deprecated_for_modules int insert_resource(struct resource *parent, struct resource *new);
+extern int insert_resource(struct resource *parent, struct resource *new);
 extern int allocate_resource(struct resource *root, struct resource *new,
 			     u64 size,
 			     u64 min, u64 max,
--- linux-2.6.17-rc1-mm2-full/kernel/resource.c.old	2006-04-10 20:53:04.000000000 +0200
+++ linux-2.6.17-rc1-mm2-full/kernel/resource.c	2006-04-10 20:53:11.000000000 +0200
@@ -381,8 +381,6 @@
 	return result;
 }
 
-EXPORT_SYMBOL(insert_resource);
-
 /*
  * Given an existing resource, change its start and size to match the
  * arguments.  Returns -EBUSY if it can't fit.  Existing children of


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-18 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 22:07 [2.6 patch] the scheduled unexport of insert_resource Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2006-04-10 22:14 Adrian Bunk
2006-04-11 16:41 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox