--- zzzz-none-000/linux-2.6.28.10/include/linux/blkdev.h 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/include/linux/blkdev.h 2010-04-16 13:30:28.000000000 +0000 @@ -450,7 +450,7 @@ #define QUEUE_FLAG_STACKABLE 13 /* supports request stacking */ #define QUEUE_FLAG_NONROT 14 /* non-rotational device (SSD) */ -static inline int queue_is_locked(struct request_queue *q) +static inline int queue_is_locked(struct request_queue *q __attribute__ ((unused))) { #ifdef CONFIG_SMP spinlock_t *lock = q->queue_lock; @@ -672,7 +672,7 @@ { return 0; } -static inline void blk_queue_bounce(struct request_queue *q, struct bio **bio) +static inline void blk_queue_bounce(struct request_queue *q __attribute__ ((unused)), struct bio **bio __attribute__ ((unused))) { } #endif /* CONFIG_MMU */ @@ -1068,6 +1068,9 @@ int (*media_changed) (struct gendisk *); int (*revalidate_disk) (struct gendisk *); int (*getgeo)(struct block_device *, struct hd_geometry *); + /* this callback is with swap_lock and sometimes page table lock held */ + /*--- erweitert für ramzswap ---*/ + void (*swap_slot_free_notify) (struct block_device *, unsigned long); struct module *owner; };