linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] (xen) stable/for-linus-fixes-3.3 bug-fix for rc1.
@ 2012-01-17 19:50 Konrad Rzeszutek Wilk
  0 siblings, 0 replies; only message in thread
From: Konrad Rzeszutek Wilk @ 2012-01-17 19:50 UTC (permalink / raw)
  To: Linus Torvalds, linux-kernel; +Cc: kay.sievers, linux

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

Hey Linus,

Please pull this branch, which has one fix:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-linus-fixes-3.3

which is a fix to Kay Sievers global "convert sysdev_class -> device/subsystem" patchset
which inadvertly missed the proper subsystem in the balloon code. The negative effect
of his patch is that the xen tool stack can't now properly balloon the memory hence
we can't launch the guests.
  
The patch is based on 070680218379e15c1901f4bf21b98e3cbf12b527, which
was the "xen-balloon: convert sysdev_class to a regular subsystem"

Konrad Rzeszutek Wilk (1):
      xen/balloon: Move the registration from device to subsystem.

 drivers/xen/xen-balloon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

And the bug-fix:

Thanks!!

diff --git a/drivers/xen/xen-balloon.c b/drivers/xen/xen-balloon.c
index 3832e30..596e6a7 100644
--- a/drivers/xen/xen-balloon.c
+++ b/drivers/xen/xen-balloon.c
@@ -221,7 +221,7 @@ static int register_balloon(struct device *dev)
 {
 	int i, error;
 
-	error = bus_register(&balloon_subsys);
+	error = subsys_system_register(&balloon_subsys, NULL);
 	if (error)
 		return error;
 

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-17 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-17 19:50 [GIT PULL] (xen) stable/for-linus-fixes-3.3 bug-fix for rc1 Konrad Rzeszutek Wilk

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).