public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: kvm-devel <kvm@vger.kernel.org>
Cc: Avi Kivity <avi@qumranet.com>
Subject: [PATCH] Fix external module build for 2.6.22
Date: Fri, 18 Jul 2008 17:31:53 +0200	[thread overview]
Message-ID: <4880B769.6050007@siemens.com> (raw)

2.6.22 came with anon_inode_getfd, but it didn't export it. Since 2.6.23
it is usable for modules, too.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

diff --git a/kernel/anon_inodes.c b/kernel/anon_inodes.c
index 7155b4d..8512118 100644
--- a/kernel/anon_inodes.c
+++ b/kernel/anon_inodes.c
@@ -21,7 +21,7 @@
 
 #include <asm/uaccess.h>
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
 
 static struct vfsmount *anon_inode_mnt __read_mostly;
 static struct inode *anon_inode_inode;

             reply	other threads:[~2008-07-18 15:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18 15:31 Jan Kiszka [this message]
2008-07-19  7:09 ` [PATCH] Fix external module build for 2.6.22 Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2008-09-02  8:51 Jan Kiszka

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=4880B769.6050007@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=avi@qumranet.com \
    --cc=kvm@vger.kernel.org \
    /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