]> git.pld-linux.org Git - packages/kernel.git/blame - linux-static-dev.patch
- converted to utf8
[packages/kernel.git] / linux-static-dev.patch
CommitLineData
c6410bf7 1--- a/drivers/char/misc.c.orig 2004-12-24 22:35:28.000000000 +0100
2+++ b/drivers/char/misc.c 2005-01-05 11:16:47.000000000 +0100
3@@ -220,7 +220,7 @@
4 }
5
6 if (misc->minor == MISC_DYNAMIC_MINOR) {
7- int i = DYNAMIC_MINORS;
8+ int i = DYNAMIC_MINORS - 3 /* reserved */;
9 while (--i >= 0)
10 if ( (misc_minors[i>>3] & (1 << (i&7))) == 0)
11 break;
12--- a/drivers/md/dm-ioctl.c.orig 2004-12-24 22:34:29.000000000 +0100
13+++ b/drivers/md/dm-ioctl.c 2005-01-05 11:11:39.000000000 +0100
14@@ -1374,7 +1374,7 @@
15 };
16
17 static struct miscdevice _dm_misc = {
18- .minor = MISC_DYNAMIC_MINOR,
19+ .minor = 63 /* MISC_DYNAMIC_MINOR */,
20 .name = DM_NAME,
21 .devfs_name = "mapper/control",
22 .fops = &_ctl_fops
This page took 0.11839 seconds and 4 git commands to generate.