* 2.3.28 kernels
@ 1999-11-14 0:40 Michael Werner
0 siblings, 0 replies; 3+ messages in thread
From: Michael Werner @ 1999-11-14 0:40 UTC (permalink / raw)
To: axp-list; +Cc: mingo
mm/memory.c has problems on alpha as mentioned earlier.
It appears also that several casts to void * conflict with their declarations.
i.e in include/linux/mm.h and include/linux/highmem.h
diffs for those appear below:
[werner@feynman linux]$ diff mm.h.orig mm.h
306c306
< clear_page((void *)page);
---
> clear_page(page);
[werner@feynman linux]$ diff highmem.h highmem.h.orig
38c38
< clear_page(kaddr);
---
> clear_page((void *)kaddr);
74c74
< copy_page(vto, vfrom);
---
> copy_page((void *)vto, (void *)vfrom);
----------------------------------------------------------
These small changes remove a lot of warnings in the 2.3.28 compilation but
more remain. Still working on those...
make -C mm
make[1]: Entering directory `/usr/local/werner/linux/mm'
make all_targets
make[2]: Entering directory `/usr/local/werner/linux/mm'
gcc -D__KERNEL__ -I/usr/local/werner/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev
5 -Wa,-mev6 -c -o memory.o memory.c
/usr/local/werner/linux/include/linux/highmem.h: In function `clear_highpage':
In file included from memory.c:46:
/usr/local/werner/linux/include/linux/highmem.h:37: warning: implicit declaratio
n of function `page_address'
memory.c: In function `copy_cow_page':
memory.c:63: warning: comparison between pointer and integer
memory.c: In function `free_one_pmd':
memory.c:93: warning: implicit declaration of function `pmd_ERROR'
memory.c: In function `free_one_pgd':
memory.c:110: warning: implicit declaration of function `pgd_ERROR'
memory.c: In function `copy_page_range':
memory.c:230: warning: implicit declaration of function `pte_to_swp_entry'
memory.c:230: incompatible type for argument 1 of `swap_duplicate'
memory.c:234: warning: implicit declaration of function `pte_pagenr'
memory.c: In function `free_pte':
memory.c:285: incompatible type for argument 1 of `__swap_free'
memory.c: In function `follow_page':
memory.c:408: warning: return makes pointer from integer without a cast
memory.c: In function `get_page_map':
memory.c:423: warning: comparison between pointer and integermemory.c: In function `put_dirty_page':
memory.c:741: warning: implicit declaration of function `pte_ERROR'
memory.c:746: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `do_wp_page':
memory.c:825: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `partial_clear':
memory.c:873: warning: assignment makes pointer from integer without a cast
memory.c: In function `swapin_readahead':
memory.c:952: invalid operands to binary >>
memory.c:953: invalid operands to binary >>
memory.c:972: invalid operands to binary >>
memory.c:972: incompatible type for argument 1 of `read_swap_cache_async'
memory.c: In function `do_swap_page':
memory.c:1004: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c:1010: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `do_anonymous_page':
memory.c:1034: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `do_no_page':
memory.c:1088: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `handle_pte_fault':
memory.c:1128: incompatible type for argument 5 of `do_swap_page'
make[2]: *** [memory.o] Error 1
make[2]: Leaving directory `/usr/local/werner/linux/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/local/werner/linux/mm'
make: *** [_dir_mm] Error 2
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: 2.3.28 kernels
@ 1999-11-15 7:27 Waibel Niki
0 siblings, 0 replies; 3+ messages in thread
From: Waibel Niki @ 1999-11-15 7:27 UTC (permalink / raw)
To: 'werner@quantum.ece.ucsb.edu', axp-list
i figured that out on 2.3.25.
it is since 2.3.22.
is this the right mailinglist to push the patches?
who of the linux kernel developer is responsible for the alpha port?
or shall we send patches directly to linus torvalds?
niki w. waibel
>-----Original Message-----
>From: Michael Werner [mailto:werner@quantum.ece.ucsb.edu]
>Sent: Sunday, November 14, 1999 1:40 AM
>To: axp-list@redhat.com
>Subject: 2.3.28 kernels
>
>
>mm/memory.c has problems on alpha as mentioned earlier.
>It appears also that several casts to void * conflict with
>their declarations.
>i.e in include/linux/mm.h and include/linux/highmem.h
>diffs for those appear below:
>
>[werner@feynman linux]$ diff mm.h.orig mm.h
>306c306
>< clear_page((void *)page);
>---
>> clear_page(page);
>[werner@feynman linux]$ diff highmem.h highmem.h.orig
>38c38
>< clear_page(kaddr);
>---
>> clear_page((void *)kaddr);
>74c74
>< copy_page(vto, vfrom);
>---
>> copy_page((void *)vto, (void *)vfrom);
>
>
>----------------------------------------------------------
>
>These small changes remove a lot of warnings in the 2.3.28
>compilation but
>more remain. Still working on those...
>
> make -C mm
>make[1]: Entering directory `/usr/local/werner/linux/mm'
>make all_targets
>make[2]: Entering directory `/usr/local/werner/linux/mm'
>gcc -D__KERNEL__ -I/usr/local/werner/linux/include -Wall
>-Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs
>-ffixed-8 -mcpu=ev
>5 -Wa,-mev6 -c -o memory.o memory.c
>/usr/local/werner/linux/include/linux/highmem.h: In function
>`clear_highpage':
>In file included from memory.c:46:
>/usr/local/werner/linux/include/linux/highmem.h:37: warning:
>implicit declaratio
>n of function `page_address'
>memory.c: In function `copy_cow_page':
>memory.c:63: warning: comparison between pointer and integer
>memory.c: In function `free_one_pmd':
>memory.c:93: warning: implicit declaration of function `pmd_ERROR'
>memory.c: In function `free_one_pgd':
>memory.c:110: warning: implicit declaration of function `pgd_ERROR'
>memory.c: In function `copy_page_range':
>memory.c:230: warning: implicit declaration of function
>`pte_to_swp_entry'
>memory.c:230: incompatible type for argument 1 of `swap_duplicate'
>memory.c:234: warning: implicit declaration of function `pte_pagenr'
>memory.c: In function `free_pte':
>memory.c:285: incompatible type for argument 1 of `__swap_free'
>memory.c: In function `follow_page':
>memory.c:408: warning: return makes pointer from integer without a cast
>memory.c: In function `get_page_map':
>memory.c:423: warning: comparison between pointer and
>integermemory.c: In function `put_dirty_page':
>memory.c:741: warning: implicit declaration of function `pte_ERROR'
>memory.c:746: warning: passing arg 1 of `mk_pte' makes integer
>from pointer without a cast
>memory.c: In function `do_wp_page':
>memory.c:825: warning: passing arg 1 of `mk_pte' makes integer
>from pointer without a cast
>memory.c: In function `partial_clear':
>memory.c:873: warning: assignment makes pointer from integer
>without a cast
>memory.c: In function `swapin_readahead':
>memory.c:952: invalid operands to binary >>
>memory.c:953: invalid operands to binary >>
>memory.c:972: invalid operands to binary >>
>memory.c:972: incompatible type for argument 1 of
>`read_swap_cache_async'
>memory.c: In function `do_swap_page':
>memory.c:1004: warning: passing arg 1 of `mk_pte' makes
>integer from pointer without a cast
>memory.c:1010: warning: passing arg 1 of `mk_pte' makes
>integer from pointer without a cast
>memory.c: In function `do_anonymous_page':
>memory.c:1034: warning: passing arg 1 of `mk_pte' makes
>integer from pointer without a cast
>memory.c: In function `do_no_page':
>memory.c:1088: warning: passing arg 1 of `mk_pte' makes
>integer from pointer without a cast
>memory.c: In function `handle_pte_fault':
>memory.c:1128: incompatible type for argument 5 of `do_swap_page'
>make[2]: *** [memory.o] Error 1
>make[2]: Leaving directory `/usr/local/werner/linux/mm'
>make[1]: *** [first_rule] Error 2
>make[1]: Leaving directory `/usr/local/werner/linux/mm'
>make: *** [_dir_mm] Error 2
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: 2.3.28 kernels
@ 1999-11-18 7:35 Waibel Niki
0 siblings, 0 replies; 3+ messages in thread
From: Waibel Niki @ 1999-11-18 7:35 UTC (permalink / raw)
To: 'werner@quantum.ece.ucsb.edu'; +Cc: 'axp-list'
i think i did memory.c on 2.3.25. it was not that difficult.
i stuck on
arch/alpha/boot/setup.c
or
arch/alpha/setup.c
if i remember correctly.
... but kernels are out really fast and the changes are not tiny.
once i got
2.2.8
running.
but then the
2.2.9
was out with the fixes i did... (and still i don't know WHO did it).
i think that i will wait for 2.3.29 and then dig into it if it still
does not
work on the axp.
the latest kernel patches (2.3.23-2.3.28) did just include patches for
sparc/sparc64/ppc/sh (and of course i386 :) ) but NOT for alpha ....
a pitty!
niki w. waibel - system administrator
>-----Original Message-----
>From: Michael Werner [mailto:werner@quantum.ece.ucsb.edu]
>Sent: Thursday, November 18, 1999 3:10 AM
>To: Waibel Niki
>Subject: RE: 2.3.28 kernels
>
>
>On Sun, 14 Nov 1999, you wrote:
>> i figured that out on 2.3.25.
>> it is since 2.3.22.
>> is this the right mailinglist to push the patches?
>>
>> who of the linux kernel developer is responsible for the alpha port?
>> or shall we send patches directly to linus torvalds?
>>
> I don't know about that, I suggest fixing memory.c first and
>then figure out
>who to send the patches to. Presumably someone at redhat keeps
>an eye on this
>list.
>
> > niki w. waibel
>>
>>
>> >--
>> >To unsubscribe: send e-mail to axp-list-request@redhat.com with
>> >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>> >
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-11-18 7:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-14 0:40 2.3.28 kernels Michael Werner
-- strict thread matches above, loose matches on Subject: below --
1999-11-15 7:27 Waibel Niki
1999-11-18 7:35 Waibel Niki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox