Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5564
b: refs/heads/master
c: 57ee67a
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed Aug 2, 2005
1 parent d82458b commit e0a0b8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1caf1f0f187d99eb898bdc216de5a761740fe814
refs/heads/master: 57ee67af35183c60e924ebb6d6b3e1d2d9c03366
2 changes: 2 additions & 0 deletions trunk/arch/ppc64/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,7 @@ static int __init early_init_dt_scan_cpus(unsigned long node,
}
}

#ifdef CONFIG_ALTIVEC
/* Check if we have a VMX and eventually update CPU features */
prop = (u32 *)get_flat_dt_prop(node, "ibm,vmx", NULL);
if (prop && (*prop) > 0) {
Expand All @@ -929,6 +930,7 @@ static int __init early_init_dt_scan_cpus(unsigned long node,
cur_cpu_spec->cpu_features |= CPU_FTR_ALTIVEC;
cur_cpu_spec->cpu_user_features |= PPC_FEATURE_HAS_ALTIVEC;
}
#endif /* CONFIG_ALTIVEC */

/*
* Check for an SMT capable CPU and set the CPU feature. We do
Expand Down

0 comments on commit e0a0b8d

Please sign in to comment.