1 /*
2  * add_partition adds a partitions details to the devices partition
3  * description.
4  */
5 void add_gd_partition(struct gendisk *hd, int minor, unsigned int start,
6                       unsigned int size);
7 
8 typedef struct {struct page *v;} Sector;
9 
10 unsigned char *read_dev_sector(struct block_device *, unsigned long, Sector *);
11 
put_dev_sector(Sector p)12 static inline void put_dev_sector(Sector p)
13 {
14 	page_cache_release(p.v);
15 }
16 
17 extern int warn_no_part;
18