Messages in this thread Patch in this message | | | From | Izik Eidus <> | Subject | [PATCH 6/6] ksm: use another miscdevice minor number. | Date | Tue, 5 May 2009 01:25:35 +0300 |
| |
The old number was registered already by another project. The new number is #234.
Thanks.
Signed-off-by: Izik Eidus <ieidus@redhat.com> Signed-off-by: Alan Cox <device@lanana.org> --- Documentation/devices.txt | 1 + include/linux/miscdevice.h | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/devices.txt b/Documentation/devices.txt index 53d64d3..a0c3259 100644 --- a/Documentation/devices.txt +++ b/Documentation/devices.txt @@ -443,6 +443,7 @@ Your cooperation is appreciated. 231 = /dev/snapshot System memory snapshot device 232 = /dev/kvm Kernel-based virtual machine (hardware virtualization extensions) 233 = /dev/kmview View-OS A process with a view + 234 = /dev/ksm Dynamic page sharing 240-254 Reserved for local use 255 Reserved for MISC_DYNAMIC_MINOR diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 297c0bb..c7b8e9b 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -30,7 +30,7 @@ #define HPET_MINOR 228 #define FUSE_MINOR 229 #define KVM_MINOR 232 -#define KSM_MINOR 233 +#define KSM_MINOR 234 #define MISC_DYNAMIC_MINOR 255 struct device; -- 1.5.6.5
| |