public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: "Tetsuji \"Maverick\" Rai" <tetsuji.rai@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Need to hack kernel module of VTune (remap_page_range)
Date: Fri, 17 Jun 2005 19:37:06 +0400	[thread overview]
Message-ID: <200506171937.06943.adobriyan@gmail.com> (raw)
In-Reply-To: <377362e105061706426683ee01@mail.gmail.com>

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.

      reply	other threads:[~2005-06-17 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-17 13:42 Need to hack kernel module of VTune (remap_page_range) Tetsuji "Maverick" Rai
2005-06-17 15:37 ` Alexey Dobriyan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200506171937.06943.adobriyan@gmail.com \
    --to=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tetsuji.rai@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox