Re: 2.6.23-rc3-mm1: inlining failures in sound/pci/hda/hda_codec.c

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Takashi Iwai <tiwai@...>
Cc: Mariusz Kozlowski <m.kozlowski@...>, Andrew Morton <akpm@...>, <linux-kernel@...>
Date: Wednesday, August 29, 2007 - 9:33 pm

Hi,
How about this one:

diff -uprN linux/sound/pci/hda/hda_codec.c linux.new/sound/pci/hda/hda_codec.c
--- linux/sound/pci/hda/hda_codec.c	2007-08-30 09:27:42.000000000 +0800
+++ linux.new/sound/pci/hda/hda_codec.c	2007-08-30 09:27:50.000000000 +0800
@@ -514,7 +514,11 @@ static int read_widget_caps(struct hda_c
 
 static void init_hda_cache(struct hda_cache_rec *cache,
 			   unsigned int record_size);
-static inline void free_hda_cache(struct hda_cache_rec *cache);
+
+static inline void free_hda_cache(struct hda_cache_rec *cache)
+{
+	kfree(cache->buffer);
+}
 
 /*
  * codec destructor
@@ -707,10 +711,6 @@ static void __devinit init_hda_cache(str
 	cache->record_size = record_size;
 }
 
-static inline void free_hda_cache(struct hda_cache_rec *cache)
-{
-	kfree(cache->buffer);
-}
 
 /* query the hash.  allocate an entry if not found. */
 static struct hda_cache_head  *get_alloc_hash(struct hda_cache_rec *cache,

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.23-rc3-mm1: inlining failures in sound/pci/hda/hda_c..., Dave Young, (Wed Aug 29, 9:33 pm)