Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 18 Jul 2002 10:49:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 18 Jul 2002 10:49:09 -0400 Received: from Morgoth.ESIWAY.NET ([193.194.16.157]:59147 "EHLO Morgoth.esiway.net") by vger.kernel.org with ESMTP id ; Thu, 18 Jul 2002 10:49:09 -0400 Date: Thu, 18 Jul 2002 16:52:00 +0200 (CEST) From: Marco Colombo To: irfan_hamid@softhome.net cc: linux-kernel@vger.kernel.org Subject: Re: cli()/sti() clarification In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 641 Lines: 21 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/