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