]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/buffer.c
[PATCH] kernel-parameters cleanup
[karo-tx-linux.git] / fs / buffer.c
index 1c62203a4906ec1c7ba2ca9ede00e2a2c498aeda..1216c0d3c8ce179adecc466a772d06ea26f4ed8d 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/cpu.h>
 #include <linux/bitops.h>
 #include <linux/mpage.h>
+#include <linux/bit_spinlock.h>
 
 static int fsync_buffers_list(spinlock_t *lock, struct list_head *list);
 static void invalidate_bh_lrus(void);
@@ -3044,7 +3045,7 @@ static void recalc_bh_state(void)
        buffer_heads_over_limit = (tot > max_buffer_heads);
 }
        
-struct buffer_head *alloc_buffer_head(unsigned int __nocast gfp_flags)
+struct buffer_head *alloc_buffer_head(gfp_t gfp_flags)
 {
        struct buffer_head *ret = kmem_cache_alloc(bh_cachep, gfp_flags);
        if (ret) {