projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
11f724f
)
Change Linux kernel kmalloc flag to prevent deadlock
author
charles
<charles>
Mon, 26 Jan 2009 23:27:15 +0000
(23:27 +0000)
committer
charles
<charles>
Mon, 26 Jan 2009 23:27:15 +0000
(23:27 +0000)
yportenv.h
patch
|
blob
|
history
diff --git
a/yportenv.h
b/yportenv.h
index bfda36e8aaa3b047ad8be01156de4b8e1b8b8438..c3fa36c3f192c1236b38240252592dd9c5a72e13 100644
(file)
--- a/
yportenv.h
+++ b/
yportenv.h
@@
-65,7
+65,7
@@
#define YAFFS_LOSTNFOUND_PREFIX "obj"
/* #define YPRINTF(x) printk x */
#define YAFFS_LOSTNFOUND_PREFIX "obj"
/* #define YPRINTF(x) printk x */
-#define YMALLOC(x) kmalloc(x,GFP_
KERNEL
)
+#define YMALLOC(x) kmalloc(x,GFP_
NOFS
)
#define YFREE(x) kfree(x)
#define YMALLOC_ALT(x) vmalloc(x)
#define YFREE_ALT(x) vfree(x)
#define YFREE(x) kfree(x)
#define YMALLOC_ALT(x) vmalloc(x)
#define YFREE_ALT(x) vfree(x)