[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200812111005.49597.borntraeger@de.ibm.com>
Date: Thu, 11 Dec 2008 10:05:49 +0100
From: Christian Borntraeger <borntraeger@...ibm.com>
To: Mark McLoughlin <markmc@...hat.com>
Cc: Rusty Russell <rusty@...tcorp.com.au>,
linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
Anthony Liguori <aliguori@...ibm.com>,
Kay Sievers <kay.sievers@...y.org>, Greg KH <gregkh@...e.de>,
Cornelia Huck <cornelia.huck@...ibm.com>
Subject: Re: [PATCH 5/6] kvm-s390: use register_virtio_root_device()
Am Mittwoch, 10. Dezember 2008 schrieb Mark McLoughlin:
> This is basically a no-op change, since it does exactly the
> same thing as s390_root_dev_register() when the caller isn't
> a module.
Ok, I gave it a short test and it seems to work.
Some comments: I agree with your comment in patch0, that a generic
device_register_root() function might be useful.
> --- a/drivers/s390/kvm/kvm_virtio.c
> +++ b/drivers/s390/kvm/kvm_virtio.c
[...]
> - kvm_root = s390_root_dev_register("kvm_s390");
> + kvm_root = register_virtio_root_device("kvm_s390");
[...]
> - s390_root_dev_unregister(kvm_root);
> + unregister_virtio_root_device(kvm_root);
You can now remove the include <asm/s390_rdev.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists