From: Alex Williamson <alex.williamson@hp.com>
To: xen-devel@lists.xensource.com
Subject: Re: [Xen-staging] [xen-unstable] linux: User-space grant table device.
Date: Sat, 31 Mar 2007 09:46:11 -0600 [thread overview]
Message-ID: <1175355971.13963.50.camel@bling> (raw)
In-Reply-To: <200703311252.l2VCqLaT019711@latara.uk.xensource.com>
On Sat, 2007-03-31 at 13:52 +0100, Xen staging patchbot-unstable wrote:
> --- a/linux-2.6-xen-sparse/drivers/xen/util.c Sat Mar 31 12:42:02 2007 +0100
> +++ b/linux-2.6-xen-sparse/drivers/xen/util.c Sat Mar 31 13:53:24 2007 +0100
> @@ -4,6 +4,23 @@
> #include <linux/vmalloc.h>
> #include <asm/uaccess.h>
> #include <xen/driver_util.h>
> +
> +struct class *get_xen_class(void)
> +{
> + static struct class *xen_class;
> +
> + if (xen_class)
> + return xen_class;
> +
> + xen_class = class_create(THIS_MODULE, "xen");
> + if (IS_ERR(xen_class)) {
> + printk("Failed to create xen sysfs class.\n");
> + xen_class = NULL;
> + }
> +
> + return xen_class;
> +}
> +EXPORT_SYMBOL_GPL(get_xen_class);
Maybe this could be moved to a more common spot since only x86 builds
with CONFIG_XEN_UTIL? Thanks,
Alex
--
Alex Williamson HP Open Source & Linux Org.
next prev parent reply other threads:[~2007-03-31 15:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200703311252.l2VCqLaT019711@latara.uk.xensource.com>
2007-03-31 15:33 ` [Xen-staging] [xen-unstable] linux: User-space grant table device Alex Williamson
2007-03-31 15:36 ` Keir Fraser
2007-03-31 15:46 ` Alex Williamson [this message]
2007-03-31 15:56 ` Keir Fraser
2007-03-31 16:34 ` Alex Williamson
2007-03-31 17:28 ` 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=1175355971.13963.50.camel@bling \
--to=alex.williamson@hp.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.