git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ALSA: usb-audio: add support for Akai MPD16
[safe/jmp/linux-2.6]
/
ipc
/
util.c
diff --git
a/ipc/util.c
b/ipc/util.c
index
7585a72
..
79ce84e
100644
(file)
--- a/
ipc/util.c
+++ b/
ipc/util.c
@@
-47,15
+47,6
@@
struct ipc_proc_iface {
int (*show)(struct seq_file *, void *);
};
int (*show)(struct seq_file *, void *);
};
-struct ipc_namespace init_ipc_ns = {
- .kref = {
- .refcount = ATOMIC_INIT(2),
- },
-};
-
-atomic_t nr_ipc_ns = ATOMIC_INIT(1);
-
-
#ifdef CONFIG_MEMORY_HOTPLUG
static void ipc_memory_notifier(struct work_struct *work)
#ifdef CONFIG_MEMORY_HOTPLUG
static void ipc_memory_notifier(struct work_struct *work)
@@
-951,7
+942,7
@@
static int sysvipc_proc_show(struct seq_file *s, void *it)
return iface->show(s, it);
}
return iface->show(s, it);
}
-static struct seq_operations sysvipc_proc_seqops = {
+static
const
struct seq_operations sysvipc_proc_seqops = {
.start = sysvipc_proc_start,
.stop = sysvipc_proc_stop,
.next = sysvipc_proc_next,
.start = sysvipc_proc_start,
.stop = sysvipc_proc_stop,
.next = sysvipc_proc_next,