--- zzzz-none-000/linux-2.6.28.10/include/linux/genhd.h 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/include/linux/genhd.h 2010-04-16 13:30:28.000000000 +0000 @@ -294,12 +294,12 @@ memset(&part->dkstats, value, sizeof(struct disk_stats)); } -static inline int init_part_stats(struct hd_struct *part) +static inline int init_part_stats(struct hd_struct *part __attribute__ ((unused))) { return 1; } -static inline void free_part_stats(struct hd_struct *part) +static inline void free_part_stats(struct hd_struct *part __attribute__ ((unused))) { }