All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: xen-devel@lists.xensource.com
Subject: unmodified drivers question
Date: Tue, 23 Oct 2007 07:33:33 +0100	[thread overview]
Message-ID: <471DB1DD.76E4.0078.0@novell.com> (raw)

In platform-compat.h I find

#if defined(_LINUX_SYSRQ_H) && LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18)
#define handle_sysrq(x,y,z) handle_sysrq(x,y)
#endif

which apparently assumes that non-ported Linux code (in this case
drivers/xen/core/reboot.c) is being compiled for newer kernel versions. If
that is the intended model (which I doubt is a generally workable one), a
second more natural model would need to be implemented by some means
so that building the drivers from an already forward ported tree is possible
(in the given case I'm talking about mentioned file already having the
handle_sysrq() converted to the two argument form).

Thanks for clarification,
Jan

             reply	other threads:[~2007-10-23  6:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23  6:33 Jan Beulich [this message]
2007-10-23  6:44 ` unmodified drivers question Keir Fraser

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=471DB1DD.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.