|
From: Paul M. <le...@us...> - 2006-07-07 10:55:54
|
Update of /cvsroot/linuxsh/linux/arch/sh/kernel In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25632/arch/sh/kernel Modified Files: setup.c Log Message: Fixup combined cache flag testing, spotted by Sato-san. Index: setup.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/kernel/setup.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- setup.c 5 Jul 2006 08:46:48 -0000 1.52 +++ setup.c 7 Jul 2006 10:55:47 -0000 1.53 @@ -493,7 +493,7 @@ * unified cache on the SH-2 and SH-3, as well as the harvard * style cache on the SH-4. */ - if (test_bit(SH_CACHE_COMBINED, &(boot_cpu_data.icache.flags))) { + if (boot_cpu_data.icache.flags & SH_CACHE_COMBINED) { seq_printf(m, "unified\n"); show_cacheinfo(m, "cache", boot_cpu_data.icache); } else { |