add bfin ice
[ICEs.git] / bfin-5761 / super.i.6
CommitLineData
0e45bb16
MF
1typedef unsigned long long u64;
2struct super_block {
3 unsigned s_blocksize;
4 void *s_bdev;
5};
6struct buffer_head {
7 u64 b_blocknr;
8};
9sb_bread(struct super_block *sb, u64 block)
10{
11 __bread(sb->s_bdev, block, sb->s_blocksize);
12}
13sysv_fill_super(struct super_block *sb)
14{
15 struct buffer_head *bh;
16 unsigned blocknr;
17 blocknr = bh->b_blocknr >> 1;
18 sb_bread(sb, blocknr);
19}