]> git.hungrycats.org Git - linux/commitdiff
[ALPHA] Set HAE-4 for SABLE/LYNX
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Mon, 30 Jun 2003 02:49:52 +0000 (19:49 -0700)
committerRichard Henderson <rth@are.twiddle.net>
Mon, 30 Jun 2003 02:49:52 +0000 (19:49 -0700)
From Jay Estabrook:
> Here's a real short one that fixes a GENERIC build problem introduced
> in pre2, and finalizes the SABLE/LYNX support setting of HAE-4, making
> X servers finally work on those platforms.

arch/alpha/kernel/core_t2.c

index 0056017a6dd1f77e1c00cb35a2b20647e1bffaff..0054ae2fc3c33f844392e51173976f22bb3a29e0 100644 (file)
@@ -465,10 +465,17 @@ t2_init_arch(void)
        *(vulp)T2_HAE_1 = 0; mb(); /* Sparse MEM HAE */
        *(vulp)T2_HAE_2 = 0; mb(); /* Sparse I/O HAE */
        *(vulp)T2_HAE_3 = 0; mb(); /* Config Space HAE */
-#if 0
-       /* !!! DO NOT EVER TOUCH THIS !!! */
-       *(vulp)T2_HAE_4 = 0; mb(); /* Dense MEM HAE */
-#endif
+
+       /*
+        * We also now zero out HAE_4, the dense memory HAE, so that
+        * we need not account for its "offset" when accessing dense
+        * memory resources which we allocated in our normal way. This
+        * HAE would need to stay untouched were we to keep the SRM
+        * resource settings.
+        *
+        * Thus we can now run standard X servers on SABLE/LYNX. :-)
+        */
+       *(vulp)T2_HAE_4 = 0; mb();
 }
 
 void