tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kmodule: absolute symbols
In article <otfl8m$11s$1%blaine.gmane.org@localhost>,
Christos Zoulas <christos%astron.com@localhost> wrote:
>>(note: we've always had this issue, so what, no one has ever tried to
>>modload COMPAT_16 on amd64?)
>
>I would declare getval_unlocked as taking void *symp, remove the cast
>in the call, and change:
>
> *symp = (void *)es;
>to
> *(void **)symp = es;
>
>to avoid casting every call...
>
Or even make it Elf_Sym **, and avoid all casts :-)
christos
Home |
Main Index |
Thread Index |
Old Index