From: Kurt Garloff Subject: Re: Linux 2.6.11 does not build SMP Date: Mon, 14 Mar 2005 01:09:46 +0100 Message-ID: <20050314000946.GE11361@tpkurt.garloff.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OZkY3AIuv2LYvjdk" Content-Disposition: inline In-Reply-To: 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: Kip Macy Cc: Xen development list List-Id: xen-devel@lists.xenproject.org --OZkY3AIuv2LYvjdk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, --=20 Kurt Garloff [Koeln, DE] Physics:Plasma modeling [TU Eindhoven, NL] Linux: SUSE Labs (Director) [Novell Inc] --OZkY3AIuv2LYvjdk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCNNZKxmLh6hyYd04RAnB8AKCJvpQi3SYZriwDATmfwvGpgh/MFwCfYvjJ ch6p+RvY/rHv/Ad1mFiJjck= =7ydd -----END PGP SIGNATURE----- --OZkY3AIuv2LYvjdk-- ------------------------------------------------------- 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