[PATCH] gfp_t: infrastructure
Beginning of gfp_t annotations: - -Wbitwise added to CHECKFLAGS - old __bitwise renamed to __bitwise__ - __bitwise defined to either __bitwise__ or nothing, depending on __CHECK_ENDIAN__ being defined - gfp_t switched from __nocast to __bitwise__ - force cast to gfp_t added to __GFP_... constants - new helper - gfp_zone(); extracts zone bits out of gfp_t value and casts the result to int Signed-off-by:Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- Makefile 1 addition, 1 deletionMakefile
- fs/buffer.c 1 addition, 1 deletionfs/buffer.c
- include/linux/gfp.h 20 additions, 19 deletionsinclude/linux/gfp.h
- include/linux/types.h 7 additions, 2 deletionsinclude/linux/types.h
- mm/mempolicy.c 3 additions, 3 deletionsmm/mempolicy.c
- mm/page_alloc.c 2 additions, 2 deletionsmm/page_alloc.c
Loading
Please register or sign in to comment