Re: cli()/sti() clarification

Marco Colombo (marco@esi.it)
Thu, 18 Jul 2002 16:52:00 +0200 (CEST)


On Thu, 18 Jul 2002 irfan_hamid@softhome.net wrote:

> Hi,
>
> I added two system calls, blockintr() and unblockintr() to give cli()/sti()
> control to userland programs (yes I know its not advisable) but I only want
> to do it as a test. My test program looks like this:
>
> blockintr();
> /* Some long calculations */
> unblockintr();

May I ask what are you trying to achieve?

.TM.

-
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/