summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 10:44:01 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 19:51:21 +0100
commitd832fc60d533d52da7170cf5f95271c331259bca (patch)
tree2d81c6b6723e34695389019e077b8423406fc26e /arch
parent[PATCH] uml: mconsole locking (diff)
downloadlinux-d832fc60d533d52da7170cf5f95271c331259bca.tar.xz
linux-d832fc60d533d52da7170cf5f95271c331259bca.zip
[PATCH] uml: make two variables static
Make a couple of variables static. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/drivers/port_kern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/port_kern.c b/arch/um/drivers/port_kern.c
index 6dfe632f1c14..c688da722177 100644
--- a/arch/um/drivers/port_kern.c
+++ b/arch/um/drivers/port_kern.c
@@ -129,8 +129,8 @@ static int port_accept(struct port_list *port)
return(ret);
}
-DECLARE_MUTEX(ports_sem);
-struct list_head ports = LIST_HEAD_INIT(ports);
+static DECLARE_MUTEX(ports_sem);
+static struct list_head ports = LIST_HEAD_INIT(ports);
void port_work_proc(struct work_struct *unused)
{