mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-14 17:53:39 +00:00
powerpc/booke: Add CPU_FTR_EMB_HV check for e5500.
Added CPU_FTR_EMB_HV feature check for e5500. Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com> Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
0778407f83
commit
39be5b4a7f
@ -143,7 +143,13 @@ _GLOBAL(__setup_cpu_e5500)
|
||||
rlwinm. r10,r10,0,MMUCFG_LPIDSIZE
|
||||
beq 1f
|
||||
bl .setup_ehv_ivors
|
||||
b 2f
|
||||
1:
|
||||
ld r10,CPU_SPEC_FEATURES(r4)
|
||||
LOAD_REG_IMMEDIATE(r9,CPU_FTR_EMB_HV)
|
||||
andc r10,r10,r9
|
||||
std r10,CPU_SPEC_FEATURES(r4)
|
||||
2:
|
||||
mtlr r5
|
||||
blr
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user