]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] rework reserved major handling
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 20 Feb 2007 21:57:48 +0000 (13:57 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 21 Feb 2007 01:10:13 +0000 (17:10 -0800)
commit5002e4024aa5d9bb4894cc1677905867d3e26540
tree1fcff840a5cfb61399b9eac843d5b74e9e6b45e0
parent3d9e7adab7eed1786a29ae65bf251366aaef2833
[PATCH] rework reserved major handling

Several people have reported failures in dynamic major device number handling
due to the recent changes in there to avoid handing out the local/experimental
majors.

Rolf reports that this is due to a gcc-4.1.0 bug.

The patch refactors that code a lot in an attempt to provoke the compiler into
behaving.

Cc: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/genhd.c
drivers/base/core.c
fs/char_dev.c
include/linux/kdev_t.h