__kmalloc_track_caller is not avaiable in
2.6.28-19-generic #62-Ubuntu
which just passes your cut at 2.6.26.

Apparently, the code __kmalloc_track_caller is in the source archive for 2.6.28, but the kernel options were not such that the symbol is available. My guess is that it was changed in 2.6.30, where memory management was changed.

Thus, 2.6.28, it needs to stay kmalloc.

Douglas Schilling Landgraf wrote:
Hello Jan,

On Wed, Aug 25, 2010 at 3:26 AM, Jan Hoogenraad
<jan-conceptro...@hoogenraad.net> wrote:
Thanks for your help. I pulled the code

Actually, now the function definition in compat.h causes a compilation
error: see first text below.

I fixed that by inserting
#include <linux/err.h>
at line 38 in compat.h in my local branch

After that, compilation succeeds.


Thanks, applied.

Now, the device will not install, as dvb_usb cannot install anymore.
see second text below.

Therefore, I have replaced the __kmalloc_track_caller with kmalloc (as it
was in dvb_demux.c before the change 2ceef3d75547 at line 49

can you make both changes in the hg branch ?

This one won't be required because the idea is support until kernel 2.6.26.
Please check my next email about hg x announcement.

Thanks for checking it, your help is appreciate.

Cheers
Douglas



--
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to