Re: Defination of Flag CONFIG_DEBUG_SPINLOCK_SLEEP in AS4 UP1

From: Arjan van de Ven
Date: Tue Aug 16 2005 - 05:10:01 EST


On Tue, 2005-08-16 at 15:37 +0530, shahid shaikh wrote:
> Hi all,
> While doing insmod for a psuedo driver, kernel is dumping a stack because
> sleep function is called.
> My init_module function for psuedo driver calls add_disk to register admin
> device.
> In add_disk(), kernel is allocating memory using kmalloc with flag
> GFP_KERNEL. This is hardcoded in kernel code for add_disk.

you forgot to put an URL with your sourcecode in your email




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/