arch/um/drivers/ubd_kern.c: fix a building error
authorWANG Cong <xiyou.wangcong@gmail.com>
Wed, 24 Oct 2007 11:07:11 +0000 (13:07 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 24 Oct 2007 11:07:11 +0000 (13:07 +0200)
commit23464ffa47689e46985fb10ae9e34bbc9e83f387
treef0966fef5003b8ad9229b9fb2a4c060ec67f2471
parent642f149031d70415d9318b919d50b71e4724adbd
arch/um/drivers/ubd_kern.c: fix a building error

Fix this uml building error:
arch/um/drivers/ubd_kern.c: In function 'do_ubd_request':
arch/um/drivers/ubd_kern.c:1118: error: implicit declaration of function
'sg_page'
arch/um/drivers/ubd_kern.c:1118: warning: passing argument 6 of
'prepare_request' makes pointer from integer without a cast
make[1]: *** [arch/um/drivers/ubd_kern.o] Error 1
make: *** [arch/um/drivers] Error 2

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Add sg_init_table() call as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
arch/um/drivers/ubd_kern.c