From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kip Macy Subject: Re: Linux 2.6.11 does not build SMP Date: Sun, 13 Mar 2005 16:13:50 -0800 Message-ID: References: <20050314000946.GE11361@tpkurt.garloff.de> Reply-To: Kip Macy Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In-Reply-To: <20050314000946.GE11361@tpkurt.garloff.de> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Kurt Garloff Cc: Xen development list List-Id: xen-devel@lists.xenproject.org Yeah, I did the same. I just thought I'd report it. -Kip On Mon, 14 Mar 2005 01:09:46 +0100, Kurt Garloff wrote: > Hi Kip, > > On Sun, Mar 13, 2005 at 03:32:50PM -0800, Kip Macy wrote: > > #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) > > #define QUEUE_SIZE 2048 > > #define pte_offset_kernel pte_offset > > #define pmd_val_ma(v) (v).pmd; > > #define pud_t pgd_t > > #define pud_offset(d, va) d > > #else > > #ifdef CONFIG_SMP > > #define QUEUE_SIZE 1 > > #else > > #define QUEUE_SIZE 128 > > #define pmd_val_ma(v) (v).pud.pgd.pgd; > > #endif > > #endif > > I just moved the second #define pmd_val_ma(v) one line down to make it > compile. I did not investigate whether it's correct. I guess not, but > I also guess it does no harm. > > Regards, > -- > Kurt Garloff [Koeln, DE] > Physics:Plasma modeling [TU Eindhoven, NL] > Linux: SUSE Labs (Director) [Novell Inc] > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click