Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 22 Oct 2001 16:54:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 22 Oct 2001 16:54:21 -0400 Received: from smtpzilla5.xs4all.nl ([194.109.127.141]:52740 "EHLO smtpzilla5.xs4all.nl") by vger.kernel.org with ESMTP id ; Mon, 22 Oct 2001 16:54:07 -0400 Message-ID: <001501c15b3b$f1052990$6401000a@it0> From: "Tommy Faasen" To: Subject: SMP: why can't I get this to work? Date: Mon, 22 Oct 2001 22:55:54 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org In an effort to check all the cpu's for a certain capability I came up with the following, but you guessed it, it won't work :( I added this to bitops.h static int test_bits(int nr, const volatile void * addr,int step,int ncpu){ int i; for(i=0;i