Re: Need to hack kernel module of VTune (remap_page_range)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 17 June 2005 17:42, Tetsuji "Maverick" Rai wrote:
> I'm trying to install VTune by Intel (see
> http://www.intel.com/software/products/vtune/vlin/index.htm for
> details) but this creates a kernel module for "older" kernels; it can
> be built on my Gentoo w/kernel 2.6.11.12, but it looks for symbol
> "remap_page_range" which was used until 2.6.8 or 2.6.9.  So I would
> like to know how to hack this kernel module (fortunately sources are
> with the package).   What's the key?

You may look into this:

"remap_pfn_range()"
	http://lwn.net/Articles/104333/

Conversion to remap_pfn_range() in sound/
	http://linux.bkbits.net:8080/linux-2.6/cset@41768440y2w0JI791mgE2LQjagt5dA

It seems that s/remap_page_range/remap_pfn_range/g and shifting 3-rd argument
when needed is enough.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux