aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 4a9ed45270ff..443df75d2cde 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -33,12 +33,6 @@ struct sg_io_hdr;
33#define BLKDEV_MIN_RQ 4 33#define BLKDEV_MIN_RQ 4
34#define BLKDEV_MAX_RQ 128 /* Default maximum */ 34#define BLKDEV_MAX_RQ 128 /* Default maximum */
35 35
36int put_io_context(struct io_context *ioc);
37void exit_io_context(void);
38struct io_context *get_io_context(gfp_t gfp_flags, int node);
39struct io_context *alloc_io_context(gfp_t gfp_flags, int node);
40void copy_io_context(struct io_context **pdst, struct io_context **psrc);
41
42struct request; 36struct request;
43typedef void (rq_end_io_fn)(struct request *, int); 37typedef void (rq_end_io_fn)(struct request *, int);
44 38
@@ -981,17 +975,6 @@ static inline long nr_blockdev_pages(void)
981 return 0; 975 return 0;
982} 976}
983 977
984static inline void exit_io_context(void)
985{
986}
987
988struct io_context;
989static inline int put_io_context(struct io_context *ioc)
990{
991 return 1;
992}
993
994
995#endif /* CONFIG_BLOCK */ 978#endif /* CONFIG_BLOCK */
996 979
997#endif 980#endif