* Another compile problem on sparc64
@ 2004-03-27 10:43 Marcel Holtmann
2004-03-28 9:16 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Marcel Holtmann @ 2004-03-27 10:43 UTC (permalink / raw)
To: sparclinux
Hi,
my compile problem with arch/sparc64/kernel/process.o is gone, but I get
another compile problem with the latest 2.6 Bitkeeper sources:
CC arch/sparc64/mm/init.o
arch/sparc64/mm/init.c: In function `check_pgt_cache':
arch/sparc64/mm/init.c:107: warning: use of cast expressions as lvalues is deprecated
My compiler is still the latest GCC from Debian Sid:
gcc (GCC) 3.3.3 (Debian 20040321)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Another compile problem on sparc64
2004-03-27 10:43 Another compile problem on sparc64 Marcel Holtmann
@ 2004-03-28 9:16 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-03-28 9:16 UTC (permalink / raw)
To: sparclinux
You could have killed all of this by just temporarily removing
the "-Werror" that gets added in the arch/sparc64/ Makefiles :-)
This latest one only happens on uniprocessor builds, which is why
I didn't catch it. Only recent debian unstable updates of gcc started
to emit these warnings fwiw...
Anyways, here's the fix, I'll push it off to Linus.
=== arch/sparc64/mm/init.c 1.55 vs edited ==--- 1.55/arch/sparc64/mm/init.c Mon Mar 1 06:30:54 2004
+++ edited/arch/sparc64/mm/init.c Sun Mar 28 01:13:58 2004
@@ -104,7 +104,7 @@
if (page2)
page2->lru.next = page->lru.next;
else
- (struct page *)pgd_quicklist = page->lru.next;
+ pgd_quicklist = (void *) page->lru.next;
pgd_cache_size -= 2;
__free_page(page);
if (page2)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-28 9:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-27 10:43 Another compile problem on sparc64 Marcel Holtmann
2004-03-28 9:16 ` David S. Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.