Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 18 Feb 2003 05:27:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 18 Feb 2003 05:27:42 -0500 Received: from carisma.slowglass.com ([195.224.96.167]:48394 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id ; Tue, 18 Feb 2003 05:27:41 -0500 Date: Tue, 18 Feb 2003 10:37:41 +0000 From: Christoph Hellwig To: Osamu Tomita Cc: Linux Kernel Mailing List , Alan Cox Subject: Re: [PATCHSET] PC-9800 subarch. support for 2.5.61 (2/26) APM Message-ID: <20030218103741.A11969@infradead.org> Mail-Followup-To: Christoph Hellwig , Osamu Tomita , Linux Kernel Mailing List , Alan Cox References: <20030217134333.GA4734@yuzuki.cinet.co.jp> <20030217134955.GB4799@yuzuki.cinet.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030217134955.GB4799@yuzuki.cinet.co.jp>; from tomita@cinet.co.jp on Mon, Feb 17, 2003 at 10:49:55PM +0900 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 41 On Mon, Feb 17, 2003 at 10:49:55PM +0900, Osamu Tomita wrote: > +#include "io_ports.h" Isn't this introduced in a later patch? Please make sure your patchkit never breaks the compile of the existing subarches when applied in order. > "pushl %%edi\n\t" > "pushl %%ebp\n\t" > +#ifdef CONFIG_X86_PC9800 > + "pushfl\n\t" > +#endif > "lcall *%%cs:apm_bios_entry\n\t" > "setc %%al\n\t" > "popl %%ebp\n\t" > @@ -682,6 +687,9 @@ > __asm__ __volatile__(APM_DO_ZERO_SEGS > "pushl %%edi\n\t" > "pushl %%ebp\n\t" > +#ifdef CONFIG_X86_PC9800 > + "pushfl\n\t" > +#endif Maybe add a #ifdef CONFIG_X86_PC9800 #define COND_PUSHFL "pushfl\n\t" #else #define COND_PUSHFL "pushfl\n\t" #endif to the top of this file and then use it? > +#ifndef CONFIG_X86_PC9800 Once again please always use #ifdef instead of #ifndef where possible. - 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/