Messages in this thread | | | Subject | Re: [PATCH] Resume from initramfs | From | Matthew Garrett <> | Date | Mon, 31 Jan 2005 14:18:37 +0000 |
| |
On Mon, 2005-01-31 at 15:09 +0100, Hannes Reinecke wrote:
> swsusp_check is used by both entry points, and is itself not a init > function. > I simply found it bad style to reference a __init function from there. > And name_to_dev_t is evil in itself. I'd gladly be rid of it if possible.
name_to_dev_t won't work once userspace has started - you need to set_fs(KERNEL_DS) at least one of the calls in it, IIRC.
-- Matthew Garrett | mjg59@srcf.ucam.org
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |