]> git.hungrycats.org Git - linux/commitdiff
[SPARC64]: In early bootup, BUG() if cannot find TLB entry for remapping.
authorDavid S. Miller <davem@nuts.ninka.net>
Thu, 8 Jan 2004 17:36:40 +0000 (09:36 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Thu, 8 Jan 2004 17:36:40 +0000 (09:36 -0800)
arch/sparc64/kernel/head.S

index 27ba29c7f59b1b9f53242146a540c51763f39cf0..152d07b082a597b934834c814202a5751d8a5d3b 100644 (file)
@@ -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