OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [fs/] [partitions/] [check.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.