public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3]fs/inode: iunique() Optimize Performance
@ 2009-11-25 14:15 Liuweni
  0 siblings, 0 replies; only message in thread
From: Liuweni @ 2009-11-25 14:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-kernel, strongzgy, xgr178, Liu Hui

---
Add the macro L1_CACHE_SHIFT into the arch/h8300/include/asm/cache.h
In this architecture, missing L1_CACHE_SHIFT, The iunique() optimize 
performance will not work correctly .
---
Signed-off-by: Liuwenyi<qingshenlwy@gmail.com>
Cc: linux-kernel@vger.kernel.org
---
diff --git a/arch/h8300/include/asm/cache.h b/arch/h8300/include/asm/cache.h
index c635028..0a73cd5 100644
--- a/arch/h8300/include/asm/cache.h
+++ b/arch/h8300/include/asm/cache.h
@@ -3,6 +3,7 @@
 
 /* bytes per L1 cache line */
 #define        L1_CACHE_BYTES  4
+#define        L1_CACHE_SHIFT  2
 
 /* m68k-elf-gcc  2.95.2 doesn't like these */
 

 				
--------------

Best Regards,
Liuweni
2009-11-25


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-25 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25 14:15 [PATCH 3/3]fs/inode: iunique() Optimize Performance Liuweni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox