LKML Archive on
help / color / mirror / Atom feed
From: Jonathan Corbet <>
To: "Brian D. McGrew" <>
Cc: <>
Subject: Re: Ioctl
Date: Mon, 31 Jan 2011 12:55:24 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, 31 Jan 2011 11:39:13 -0800
"Brian D. McGrew" <> wrote:

> I'm very new at working with the kernel and device drivers and I'm trying to
> bring ours drivers up from a 2.6.16 kernel to 2.6.37.  I'm noticing that
> ioctl() doesn't seem to be raound anymore, or at least I can't find it.

What you almost certainly want is unlocked_ioctl(), which handles ioctl()
calls but lacks the protection of the (soon to be removed) big kernel
lock.  If your driver is properly written, you should have no problem
using unlocked_ioctl(), but do note that the function prototype is a
little different.


      parent reply	other threads:[~2011-01-31 20:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 19:39 Ioctl Brian D. McGrew
2011-01-31 19:51 ` Ioctl Randy Dunlap
2011-01-31 19:55 ` Jonathan Corbet [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:

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

  git send-email \ \ \ \ \
    --subject='Re: Ioctl' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).