[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Linux 2.6.11 does not build SMP



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                   <kurt@xxxxxxxxxx>             [Koeln, DE]
Physics:Plasma modeling <garloff@xxxxxxxxxxxxxxxxxxx> [TU Eindhoven, NL]
Linux: SUSE Labs (Director)    <garloff@xxxxxxx>            [Novell Inc]

Attachment: pgpOThTqI4wDq.pgp
Description: PGP signature


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.