Commit ccc259f4 authored by David S. Miller's avatar David S. Miller

[SPARC64]: In early bootup, BUG() if cannot find TLB entry for remapping.

parent 79d434c1
......@@ -151,6 +151,9 @@ cheetah_generic_boot:
blu,pt %xcc, 1b
add %l0, (1 << 3), %l0
/* BUG() if we get here... */
ta 0x5
cheetah_got_tlbentry:
ldxa [%l0] ASI_ITLB_DATA_ACCESS, %g0
ldxa [%l0] ASI_ITLB_DATA_ACCESS, %g1
......@@ -333,6 +336,9 @@ spitfire_create_mappings:
blu,pt %xcc, 1b
add %l0, (1 << 3), %l0
/* BUG() if we get here... */
ta 0x5
spitfire_got_tlbentry:
/* Nops here again, perhaps Cheetah/Blackbird are better behaved... */
nop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment