Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d046943cbaf332f75284ad99f4b3e60bae7ffff2 Commit: d046943cbaf332f75284ad99f4b3e60bae7ffff2 Parent: 8d4bc5b6b0ce030f51a2db836caeaf687b986791 Author: Al Viro <[EMAIL PROTECTED]> AuthorDate: Fri Jul 20 16:18:06 2007 +0100 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Fri Jul 20 08:24:50 2007 -0700
fix gfp_t annotations for slub Since we have use like ~SLUB_DMA, we ought to have the type set right in both cases. Signed-off-by: Al Viro <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- include/linux/slub_def.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index 07f7e4c..124270d 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h @@ -160,7 +160,7 @@ static inline struct kmem_cache *kmalloc_slab(size_t size) #define SLUB_DMA __GFP_DMA #else /* Disable DMA functionality */ -#define SLUB_DMA 0 +#define SLUB_DMA (__force gfp_t)0 #endif void *kmem_cache_alloc(struct kmem_cache *, gfp_t); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html