Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[2.6 patch] mm/slub.c: make code static

 
   Soft32 Home -> Linux -> Kernel RSS
Next:  [RFC: 2.6.22 patch] don't offer DISPLAY_SUPPORT f..  
Author Message
Adrian Bunk

External


Since: Nov 20, 2006
Posts: 1269



(Msg. 1) Posted: Sun Jul 01, 2007 5:30 pm
Post subject: [2.6 patch] mm/slub.c: make code static
Archived from groups: linux>kernel (more info?)

This patch makes some needlessly global code static.

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

---

mm/slub.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.22-rc6-mm1/mm/slub.c.old 2007-07-01 00:34:07.000000000 +0200
+++ linux-2.6.22-rc6-mm1/mm/slub.c 2007-07-01 00:35:26.000000000 +0200
@@ -240,7 +240,7 @@

/* A list of all slab caches on the system */
static DECLARE_RWSEM(slub_lock);
-LIST_HEAD(slab_caches);
+static LIST_HEAD(slab_caches);

/*
* Tracking user of a slab.
@@ -3658,7 +3658,7 @@
.filter = uevent_filter,
};

-decl_subsys(slab, &slab_ktype, &slab_uevent_ops);
+static decl_subsys(slab, &slab_ktype, &slab_uevent_ops);

#define ID_STR_LENGTH 64

@@ -3756,7 +3756,7 @@
struct saved_alias *next;
};

-struct saved_alias *alias_list;
+static struct saved_alias *alias_list;

static int sysfs_slab_alias(struct kmem_cache *s, const char *name)
{

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

External


Since: Sep 29, 2006
Posts: 1036



(Msg. 2) Posted: Tue Jul 03, 2007 1:00 pm
Post subject: Re: [2.6 patch] mm/slub.c: make code static [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 1 Jul 2007, Adrian Bunk wrote:

> This patch makes some needlessly global code static.
>
> Signed-off-by: Adrian Bunk <bunk.DeleteThis@stusta.de>

Acked-by: Christoph Lameter <clameter.DeleteThis@sgi.com>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.DeleteThis@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[2.6 patch] kernel/sched.c: make code static - This patch makes the following needlessly global code static: - arch_reinit_sched_domains() - struct..

[2.6 patch] mm/page_alloc.c: make code static - This patch makes needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> --- mm/page_alloc...

[2.6 patch] kernel/sched.c: make code static - This patch makes the following needlessly global code static: - arch_reinit_sched_domains() - struct..

[2.6 patch] drivers/macintosh/mac_hid.c: make code static - This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> --- ..

[2.6 patch] drivers/macintosh/mac_hid.c: make code static - This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> --- This patc...

[2.6 patch] drivers/video/vt8623fb.c: make code static - This patch makes needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> --- ..
       Soft32 Home -> Linux -> Kernel All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]