projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a5ab41
)
[PATCH] in non-NUMA case mark GFP_THISNODE gfp_t
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:38:55 +0000
(16:38 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 17:14:06 +0000
(09:14 -0800)
... operations with it are OK as is, but flags & ~0 will have no idea that
this ~0 is meant to be ~gfp_t.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h
patch
|
blob
|
history
diff --git
a/include/linux/gfp.h
b/include/linux/gfp.h
index 00c314aedab7d8f9487112e9a4d16182185b6332..063799ea6be084c6125633c6c9f6e2cc72bd837e 100644
(file)
--- a/
include/linux/gfp.h
+++ b/
include/linux/gfp.h
@@
-70,7
+70,7
@@
struct vm_area_struct;
#ifdef CONFIG_NUMA
#define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY)
#else
-#define GFP_THISNODE
0
+#define GFP_THISNODE
((__force gfp_t)0)
#endif