From owner-svn-src-head@FreeBSD.ORG Wed Feb 18 19:40:42 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D06E710656D7 for ; Wed, 18 Feb 2009 19:40:42 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 8CF788FC16 for ; Wed, 18 Feb 2009 19:40:41 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 18 Feb 2009 19:40:38 -0000 Received: from p54A3F2A9.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.242.169] by mail.gmx.net (mp024) with SMTP; 18 Feb 2009 20:40:38 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1+M1j1eDaqMeunS0Lj1FGKOYDpqFytkhsGmk8aqOS cjNs5ijhcj/ow3 Message-ID: <499C6434.8020807@gmx.de> Date: Wed, 18 Feb 2009 20:40:36 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Ed Schouten References: <200902181825.n1IIPH9n071204@svn.freebsd.org> <20090218185535.GO79178@hoeg.nl> <499C5C10.9020700@gmx.de> <20090218193256.GP79178@hoeg.nl> In-Reply-To: <20090218193256.GP79178@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Cc: svn-src-head@freebsd.org, Roman Divacky , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r188753 - head/sys/i386/acpica X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 19:40:43 -0000 Ed Schouten schrieb: > * Christoph Mallon wrote: >> You cannot pass variables to global asm statements. > > Oh, yuck. So I guess the only solution would be to move it into its own > assembly file? Marking the involved variables as __used (which evaluates to __attribute__((used))) is fine. That's exactly what Roman is doing.