diff options
author | bencollins <tailor@grayson> | 2002-03-08 03:06:12 -0500 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-06-01 13:18:17 -0400 |
commit | 7e18a4557d4075577d5cf4e6064a724c99a9ac7d (patch) | |
tree | aa2e4af377ef940a9d777ff36b5c96e7ff1dbefa | |
parent | 916dd23debf44125c239a52226a409d5dc6047e4 (diff) | |
download | silo-7e18a4557d4075577d5cf4e6064a724c99a9ac7d.tar.gz |
[silo @ 52]
Make release_memory match main.c's usage of sun4u_initrd_pa. IOW, check
for (architecture == sun4u) instead. Patch from Peter Jones. Fixes sun4u
initrd issues with gzip.#
-rw-r--r-- | second/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/second/memory.c b/second/memory.c index 11a9040..737da5d 100644 --- a/second/memory.c +++ b/second/memory.c @@ -328,7 +328,7 @@ not_found: void memory_release(void) { - if (sun4u_initrd_pa) { + if (architecture == sun4u) { __asm __volatile("\n\ rdpr %%pil, %%g1\n\ wrpr 16, %%pil\n\ |