|
@@ -291,11 +291,11 @@ static inline void identical_pvr_fixup(unsigned long node)
|
|
|
|
|
|
static void __init check_cpu_feature_properties(unsigned long node)
|
|
static void __init check_cpu_feature_properties(unsigned long node)
|
|
{
|
|
{
|
|
- unsigned long i;
|
|
|
|
|
|
+ int i;
|
|
struct feature_property *fp = feature_properties;
|
|
struct feature_property *fp = feature_properties;
|
|
const __be32 *prop;
|
|
const __be32 *prop;
|
|
|
|
|
|
- for (i = 0; i < ARRAY_SIZE(feature_properties); ++i, ++fp) {
|
|
|
|
|
|
+ for (i = 0; i < (int)ARRAY_SIZE(feature_properties); ++i, ++fp) {
|
|
prop = of_get_flat_dt_prop(node, fp->name, NULL);
|
|
prop = of_get_flat_dt_prop(node, fp->name, NULL);
|
|
if (prop && be32_to_cpup(prop) >= fp->min_value) {
|
|
if (prop && be32_to_cpup(prop) >= fp->min_value) {
|
|
cur_cpu_spec->cpu_features |= fp->cpu_feature;
|
|
cur_cpu_spec->cpu_features |= fp->cpu_feature;
|