[PATCH] ppc64: Updated Olof iommu updates 2/3

Stephen Rothwell sfr at canb.auug.org.au
Tue Sep 20 15:35:23 EST 2005


On Tue, 20 Sep 2005 13:46:44 +1000 Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
>
> @@ -167,7 +176,7 @@
>  		 * Set up the page with TCE data, looping through and setting
>  		 * the values.
>  		 */
> -		limit = min_t(long, npages, PAGE_SIZE/sizeof(union tce_entry));
> +		limit = min_t(long, npages, 4096/sizeof(union tce_entry));
                                            ^^^^
TCE_PAGE_SIZE ?

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050920/4f865b54/attachment.pgp 


More information about the Linuxppc64-dev mailing list