]> git.wh0rd.org - ICEs.git/blob - 152840/ice.i.5
more
[ICEs.git] / 152840 / ice.i.5
1 struct scatterlist {
2 struct page *page;
3 unsigned int offset;
4 };
5 void mmc_blk_issue_rq()
6 {
7 unsigned int blocks;
8 struct scatterlist sg;
9 void *buf = &blocks;
10 memset(&sg, 0, sizeof(sg));
11 sg.page = ((unsigned long)buf - 0x80000000 >> 12) - 0x0C000000;
12 sg.offset = ((unsigned long)buf & 1UL << 12);
13 if (blocks)
14 local_irq_disable();
15 }