|
@@ -2385,6 +2385,8 @@ static inline void bd_unlink_disk_holder(struct block_device *bdev,
|
|
|
|
|
|
/* fs/char_dev.c */
|
|
|
#define CHRDEV_MAJOR_HASH_SIZE 255
|
|
|
+/* Marks the bottom of the first segment of free char majors */
|
|
|
+#define CHRDEV_MAJOR_DYN_END 234
|
|
|
extern int alloc_chrdev_region(dev_t *, unsigned, unsigned, const char *);
|
|
|
extern int register_chrdev_region(dev_t, unsigned, const char *);
|
|
|
extern int __register_chrdev(unsigned int major, unsigned int baseminor,
|