Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 18 Mar 2002 04:39:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 18 Mar 2002 04:39:48 -0500 Received: from mail.ocs.com.au ([203.34.97.2]:61196 "HELO mail.ocs.com.au") by vger.kernel.org with SMTP id ; Mon, 18 Mar 2002 04:39:35 -0500 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: Martin Wilck Cc: Jamie Lokier , Andreas Dilger , Linux Kernel mailing list Subject: Re: [PATCH] Cleanup port 0x80 use (was: Re: IO delay ...) In-Reply-To: Your message of "Mon, 18 Mar 2002 10:18:06 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 18 Mar 2002 20:39:18 +1100 Message-ID: <4463.1016444358@ocs3.intra.ocs.com.au> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Mar 2002 10:18:06 +0100 (CET), Martin Wilck wrote: >On Sun, 17 Mar 2002, Jamie Lokier wrote: > >> As long as __SLOW_DOWN_IO_PORT is a simple constant, you can just use >> this instead: >> >> #define __SLOW_DOWN_IO_ASM "\noutb %%al,$" #__SLOW_DOWN_IO_PORT > >What cpp are you guys using? Mine does stringification (#s) only with >arguments of function-like macros. However Recent 2.4 and 2.5 kernels have include/linux/stringify.h. This should work. #define __SLOW_DOWN_IO_ASM "\noutb %%al,$" __stringify(__SLOW_DOWN_IO_PORT) - 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/