Home » Mailing lists » Devel » [PATCH 0/59] Cleanup sysctl
[PATCH 33/59] sysctl: s390 move sysctl definitions to sysctl.h [message #17182 is a reply to message #17149] |
Tue, 16 January 2007 16:39   |
ebiederm
Messages: 1354 Registered: February 2006
|
Senior Member |
|
|
From: Eric W. Biederman <ebiederm@xmission.com> - unquoted
We need to have the the definition of all top level sysctl
directories registers in sysctl.h so we don't conflict by
accident and cause abi problems.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
arch/s390/appldata/appldata.h | 3 +--
arch/s390/kernel/debug.c | 1 -
arch/s390/mm/cmm.c | 4 ----
include/linux/sysctl.h | 7 +++++++
4 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/s390/appldata/appldata.h b/arch/s390/appldata/appldata.h
index 0429481..4069b81 100644
--- a/arch/s390/appldata/appldata.h
+++ b/arch/s390/appldata/appldata.h
@@ -21,8 +21,7 @@
#define APPLDATA_RECORD_NET_SUM_ID 0x03 /* must be < 256 ! */
#define APPLDATA_RECORD_PROC_ID 0x04
-#define CTL_APPLDATA 2120 /* sysctl IDs, must be unique */
-#define CTL_APPLDATA_TIMER 2121
+#define CTL_APPLDATA_TIMER 2121 /* sysctl IDs, must be unique */
#define CTL_APPLDATA_INTERVAL 2122
#define CTL_APPLDATA_MEM 2123
#define CTL_APPLDATA_OS 2124
diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c
index bb57bc0..c81f8e5 100644
--- a/arch/s390/kernel/debug.c
+++ b/arch/s390/kernel/debug.c
@@ -852,7 +852,6 @@ debug_finish_entry(debug_info_t * id, debug_entry_t* active, int level,
static int debug_stoppable=1;
static int debug_active=1;
-#define CTL_S390DBF 5677
#define CTL_S390DBF_STOPPABLE 5678
#define CTL_S390DBF_ACTIVE 5679
diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c
index 607f50e..df733d5 100644
--- a/arch/s390/mm/cmm.c
+++ b/arch/s390/mm/cmm.c
@@ -256,10 +256,6 @@ cmm_skip_blanks(char *cp, char **endp)
}
#ifdef CONFIG_CMM_PROC
-/* These will someday get removed. */
-#define VM_CMM_PAGES 1111
-#define VM_CMM_TIMED_PAGES 1112
-#define VM_CMM_TIMEOUT 1113
static struct ctl_table cmm_table[];
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 71c16b4..56d0161 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -73,6 +73,8 @@ enum
CTL_SUNRPC=7249, /* sunrpc debug */
CTL_PM=9899, /* frv power management */
CTL_FRV=9898, /* frv specific sysctls */
+ CTL_S390DBF=5677, /* s390 debug */
+ CTL_APPLDATA=2120, /* s390 appldata */
};
/* CTL_BUS names: */
@@ -205,6 +207,11 @@ enum
VM_PANIC_ON_OOM=33, /* panic at out-of-memory */
VM_VDSO_ENABLED=34, /* map VDSO into new processes? */
VM_MIN_SLAB=35, /* Percent pages ignored by zone reclaim */
+
+ /* s390 vm cmm sysctls */
+ VM_CMM_PAGES=1111,
+ VM_CMM_TIMED_PAGES=1112,
+ VM_CMM_TIMEOUT=1113,
};
--
1.4.4.1.g278f
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
|
|
|
 |
|
[PATCH 0/59] Cleanup sysctl
By: ebiederm on Tue, 16 January 2007 16:33
|
 |
|
[PATCH 1/59] sysctl x25: Remove unnecessary insert_at_head from register_sysctl_table.
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 2/59] sysctl: Move CTL_SUNRPC to sysctl.h where it belongs
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 3/59] sysctl: sunrpc Remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 4/59] sysctl: sunrpc Don't unnecessarily set ctl_table->de
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 5/59] sysctl: rose remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 5/59] sysctl: rose remove unnecessary insert_at_head flag
|
 |
|
[PATCH 6/59] sysctl: netrom remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 7/59] sysctl: llc remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 8/59] sysctl: ipx remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 9/59] sysctl: decnet remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 10/59] sysctl: dccp remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 11/59] sysctl: ax25 remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 12/59] sysctl: atalk remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 13/59] sysctl: xfs remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 14/59] sysctl: C99 convert xfs ctl_tables
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 14/59] sysctl: C99 convert xfs ctl_tables
By: dev on Wed, 17 January 2007 17:01
|
 |
|
[PATCH 15/59] sysctl: scsi remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 16/59] sysctl: md Remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 17/59] sysctl: mac_hid remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 18/59] sysctl: ipmi remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 18/59] sysctl: ipmi remove unnecessary insert_at_head flag
|
 |
|
[PATCH 19/59] sysctl: cdrom remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 20/59] sysctl: cdrom Don't set de->owner
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 20/59] sysctl: cdrom Don't set de->owner
|
 |
|
[PATCH 21/59] sysctl: Move CTL_PM into sysctl.h where it belongs.
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 22/59] sysctl: frv pm remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 23/59] sysctl: Move CTL_FRV into sysctl.h where it belongs
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 24/59] sysctl: frv remove unnecessary insert_at_head flag
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 25/59] sysctl: C99 convert arch/frv/kernel/pm.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 25/59] sysctl: C99 convert arch/frv/kernel/pm.c
By: dev on Wed, 17 January 2007 17:14
|
 |
|
Re: [PATCH 25/59] sysctl: C99 convert arch/frv/kernel/pm.c
|
 |
|
Re: [PATCH 25/59] sysctl: C99 convert arch/frv/kernel/pm.c
|
 |
|
[PATCH 26/59] sysctl: C99 convert arch/frv/kernel/sysctl.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 27/59] sysctl: sn Remove sysctl ABI BREAKAGE
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 28/59] sysctl: C99 Convert arch/ia64/sn/kernel/xpc_main.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 29/59] sysctl: C99 convert arch/ia64/kernel/perfmon and remove ABI breakage
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 30/59] sysctl: mips/au1000 Remove sys_sysctl support
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 31/59] sysctl: C99 convert the ctl_tables in arch/mips/au1000/common/power.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 31/59] sysctl: C99 convert the ctl_tables in arch/mips/au1000/common/power.c
|
 |
|
[PATCH 32/59] sysctl: C99 convert arch/mips/lasat/sysctl.c and remove ABI breakage.
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 33/59] sysctl: s390 move sysctl definitions to sysctl.h
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 33/59] sysctl: s390 move sysctl definitions to sysctl.h
By: dev on Wed, 17 January 2007 17:23
|
 |
|
[PATCH 34/59] sysctl: s390 Remove unnecessary use of insert_at_head
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 35/59] sysctl: C99 convert ctl_tables in arch/powerpc/kernel/idle.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 35/59] sysctl: C99 convert ctl_tables in arch/powerpc/kernel/idle.c
|
 |
|
[PATCH 36/59] sysctl: C99 convert ctl_tables entries in arch/ppc/kernel/ppc_htab.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 36/59] sysctl: C99 convert ctl_tables entries in arch/ppc/kernel/ppc_htab.c
|
 |
|
[PATCH 37/59] sysctl: C99 convert arch/sh64/kernel/traps.c and remove ABI breakage.
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 37/59] sysctl: C99 convert arch/sh64/kernel/traps.c and remove ABI breakage.
|
 |
|
[PATCH 38/59] sysctl: x86_64 Remove unnecessary use of insert_at_head
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 39/59] sysctl: C99 convert ctl_tables in arch/x86_64/ia32/ia32_binfmt.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 40/59] sysctl: C99 convert ctl_tables in arch/x86_64/kernel/vsyscall.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 41/59] sysctl: C99 convert ctl_tables in arch/x86_64/mm/init.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 42/59] sysctl: Remove sys_sysctl support from the hpet timer driver.
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 43/59] sysctl: Remove sys_sysctl support from drivers/char/rtc.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 44/59] sysctl: Register the sysctl number used by the arlan driver.
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 45/59] sysctl: C99 convert ctl_tables in drivers/parport/procfs.c
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 45/59] sysctl: C99 convert ctl_tables in drivers/parport/procfs.c
By: ebiederm on Tue, 16 January 2007 23:00
|
 |
|
Re: [PATCH 45/59] sysctl: C99 convert ctl_tables in drivers/parport/procfs.c
|
 |
|
[PATCH 46/59] sysctl: C99 convert coda ctl_tables and remove binary sysctls.
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 47/59] sysctl: C99 convert ctl_tables in NTFS and remove sys_sysctl support
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 48/59] sysctl: Register the ocfs2 sysctl numbers
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 48/59] sysctl: Register the ocfs2 sysctl numbers
|
 |
|
[PATCH 49/59] sysctl: Move init_irq_proc into init/main where it belongs
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 49/59] sysctl: Move init_irq_proc into init/main where it belongs
|
 |
|
[PATCH 50/59] sysctl: Move utsname sysctls to their own file
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 50/59] sysctl: Move utsname sysctls to their own file
By: ebiederm on Wed, 17 January 2007 19:31
|
 |
|
Re: [PATCH 50/59] sysctl: Move utsname sysctls to their own file
|
 |
|
Re: [PATCH 50/59] sysctl: Move utsname sysctls to their own file
By: dev on Wed, 17 January 2007 17:41
|
 |
|
[PATCH 51/59] sysctl: Move SYSV IPC sysctls to their own file
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
Re: [PATCH 51/59] sysctl: Move SYSV IPC sysctls to their own file
By: dev on Wed, 17 January 2007 17:44
|
 |
|
[PATCH 52/59] sysctl: Create sys/fs/binfmt_misc as an ordinary sysctl entry
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 53/59] sysctl: Remove support for CTL_ANY
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 54/59] sysctl: Remove support for directory strategy routines.
By: ebiederm on Tue, 16 January 2007 16:39
|
 |
|
[PATCH 55/59] sysctl: Remove insert_at_head from register_sysctl
By: ebiederm on Tue, 16 January 2007 16:40
|
 |
|
[PATCH 56/59] sysctl: factor out sysctl_head_next from do_sysctl
By: ebiederm on Tue, 16 January 2007 16:40
|
 |
|
[PATCH 57/59] sysctl: allow sysctl_perm to be called from outside of sysctl.c
By: ebiederm on Tue, 16 January 2007 16:40
|
 |
|
[PATCH 58/59] sysctl: Reimplement the sysctl proc support
By: ebiederm on Tue, 16 January 2007 16:40
|
 |
|
[PATCH 59/59] sysctl: Remove the proc_dir_entry member for the sysctl tables.
By: ebiederm on Tue, 16 January 2007 16:40
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
By: hpa on Tue, 16 January 2007 18:35
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
By: ebiederm on Tue, 16 January 2007 18:54
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
By: hpa on Tue, 16 January 2007 18:58
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
By: ebiederm on Tue, 16 January 2007 19:03
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
By: hpa on Tue, 16 January 2007 19:15
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
By: ebiederm on Tue, 16 January 2007 19:30
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
By: ebiederm on Wed, 17 January 2007 19:02
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
|
 |
|
Re: [PATCH 0/59] Cleanup sysctl
By: dev on Wed, 17 January 2007 18:10
|
Goto Forum:
Current Time: Mon Jul 21 21:35:39 GMT 2025
Total time taken to generate the page: 0.16046 seconds
|