Skip to contentSkip to conversation

slob: fix build problem

PATCH In review Alexander Beregalov 2 participants 3 messages Mar 17, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 slob: fix build problem

mm/slob.c: In function '__kmalloc_node':
mm/slob.c:480: error: 'flags' undeclared (first use in this function)

---

 mm/slob.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
mm/slob.c +1 -1
index 081cf1e..e49b258 100644
@@ -477,7 +477,7 @@ void *__kmalloc_node(size_t size, gfp_t gfp, int node)
 	int align = max(ARCH_KMALLOC_MINALIGN, ARCH_SLAB_MINALIGN);
 	void *ret;
 
-	lockdep_trace_alloc(flags);
+	lockdep_trace_alloc(gfp);
 
 	if (size < PAGE_SIZE - align) {
 		if (!size)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#1 lore raw

2009/3/17 Alexander Beregalov <[email protected]>:

Quoted 2 lines

mm/slob.c: In function '__kmalloc_node':
mm/slob.c:480: error: 'flags' undeclared (first use in this function)

Oh, I see yesterday discussion, sorry.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#2 lore raw
In reply to Alexander Beregalov
Quoted 4 lines · Alexander Beregalov

mm/slob.c: In function '__kmalloc_node':
mm/slob.c:480: error: 'flags' undeclared (first use in this function)

thanks, fixed it two days ago:

bf722c9: lockdep: annotate reclaim context (__GFP_NOFS), fix SLOB

also posted on lkml.

Ingo

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>