From: Wu Zhangjin Date: Wed, 11 Nov 2009 05:39:12 +0000 (+0800) Subject: MIPS: Loongson 2F: Cleanup the #if clauses X-Git-Tag: v2.6.33-rc1~6^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55045ff5557bc804752e84dca5d1b1f1d4bb4e31;p=pandora-kernel.git MIPS: Loongson 2F: Cleanup the #if clauses This patch adds two new kernel options: CPU_SUPPORTS_CPUFREQ and CPU_SUPPORTS_ADDRWINCFG to describe the new features of Loongons 2F and replaces the several ugly #if clauses by them. These two options will be utilized by the future loongson revisions and related drivers such as the coming Loongson 2F CPUFreq driver. Signed-off-by: Wu Zhangjin Cc: linux-mips@linux-mips.org Cc: Wu Zhangjin Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed