Jesse Keating 2f82dd
From 76ec0e2e6d6edf81abc0331d5e7873ef7b2f6019 Mon Sep 17 00:00:00 2001
Jesse Keating 2f82dd
From: Kyle McMartin <kyle@phobos.i.jkkm.org>
Jesse Keating 2f82dd
Date: Wed, 8 Jul 2009 13:06:01 -0400
Jesse Keating 2f82dd
Subject: [PATCH 6/6] fedora: linux-2.6-debug-always-inline-kzalloc.patch
Jesse Keating 2f82dd
Jesse Keating 2f82dd
---
Jesse Keating 2f82dd
 include/linux/slab.h |    2 +-
Jesse Keating 2f82dd
 1 files changed, 1 insertions(+), 1 deletions(-)
Jesse Keating 2f82dd
Jesse Keating 2f82dd
diff --git a/include/linux/slab.h b/include/linux/slab.h
Jesse Keating 2f82dd
index 2da8372..d4ef74f 100644
Jesse Keating 2f82dd
--- a/include/linux/slab.h
Jesse Keating 2f82dd
+++ b/include/linux/slab.h
Jesse Keating 2f82dd
@@ -310,7 +310,7 @@ static inline void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags)
Jesse Keating 2f82dd
  * @size: how many bytes of memory are required.
Jesse Keating 2f82dd
  * @flags: the type of memory to allocate (see kmalloc).
Jesse Keating 2f82dd
  */
Jesse Keating 2f82dd
-static inline void *kzalloc(size_t size, gfp_t flags)
Jesse Keating 2f82dd
+static __always_inline void *kzalloc(size_t size, gfp_t flags)
Jesse Keating 2f82dd
 {
Jesse Keating 2f82dd
 	return kmalloc(size, flags | __GFP_ZERO);
Jesse Keating 2f82dd
 }
Jesse Keating 2f82dd
-- 
Jesse Keating 2f82dd
1.6.2.5
Jesse Keating 2f82dd