[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1241302572-4366-7-git-send-email-ieidus@redhat.com>
Date: Sun, 3 May 2009 01:16:12 +0300
From: Izik Eidus <ieidus@...hat.com>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, aarcange@...hat.com,
chrisw@...hat.com, alan@...rguk.ukuu.org.uk, device@...ana.org,
linux-mm@...ck.org, hugh@...itas.com, nickpiggin@...oo.com.au,
Izik Eidus <ieidus@...hat.com>
Subject: [PATCH 6/6] ksm: use another miscdevice minor number.
The old number was registered already by another project.
The new number is #234.
Thanks.
Signed-off-by: Izik Eidus <ieidus@...hat.com>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists