From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id D06B8DDE35 for ; Sun, 7 Oct 2007 07:08:10 +1000 (EST) Subject: Re: Where are inb/outb macros? From: Benjamin Herrenschmidt To: Peter Lemenkov In-Reply-To: References: Content-Type: text/plain Date: Sun, 07 Oct 2007 07:08:01 +1000 Message-Id: <1191704881.6414.3.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, 2007-10-07 at 00:47 +0400, Peter Lemenkov wrote: > Hello All! > I can't compile one small software title because of lack > and inb/outb macros. What sould I do to overcome this obstacle? > > My linux distro is Fedora 7 if it is matter. They don't exist in user space on non-x86. You have to do things differently. What is your software trying to do ? If it's trying to access a PCI device IO space, you probably want to mmap it in sysfs and write your own accessors with appropriate memory barriers. Ben