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$>,
Christos Zoulas <> 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;
>	*(void **)symp = es;
>to avoid casting every call...

Or even make it Elf_Sym **, and avoid all casts :-)


Home | Main Index | Thread Index | Old Index