Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Dec 2002 11:30:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Dec 2002 11:30:02 -0500 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:34274 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 17 Dec 2002 11:30:01 -0500 Subject: Re: [PATCHSET] PC-9800 addtional for 2.5.50-ac1 (21/21) From: Alan Cox To: Osamu Tomita Cc: YOSHIFUJI Hideaki / =?UTF-8?Q?=E5=90=89=E8=97=A4=E8=8B=B1?= =?UTF-8?Q?=E6=98=8E?= , Linux Kernel Mailing List In-Reply-To: <3DFF4FF8.FA43A1A1@cinet.co.jp> References: <3DFC50E9.656B96D0@cinet.co.jp> <3DFC818F.80E3DC00@cinet.co.jp> <20021215.225942.24871004.yoshfuji@linux-ipv6.org> <3DFDE4FE.755F6651@cinet.co.jp> <1040139409.20199.8.camel@irongate.swansea.linux.org.uk> <3DFF4FF8.FA43A1A1@cinet.co.jp> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 17 Dec 2002 17:17:54 +0000 Message-Id: <1040145474.20018.27.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 709 Lines: 29 On Tue, 2002-12-17 at 16:25, Osamu Tomita wrote: > Thanks for your advice. Slight misunderstanding: I just meant put the static inline int get_ebda(void) { unsigned int address = *(unsigned short *)phys_to_virt(0x40E); address <<= 4; return address; /* 0 means none */ } then do addr = get_ebda(); if(addr) spm_scan_config(...) Which actually fixes a bug too - the real PC can have no EBDA (EBDA value of zero) and we shouldnt scan it if so - 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/