[Linaro-mm-sig] [PATCHv7 9/9] ARM: dma-mapping: add support for IOMMU mapper
Krishna Reddy
vdumpa at nvidia.com
Wed Mar 7 07:06:13 UTC 2012
> > > It should be as follows.
> > > unsigned int count = 1 << get_order(size) - order;
>
> To be precise, as below?
>
> unsigned int count = 1 << (get_order(size) - order);
Minus has more precedence than left shift.
"1 << get_order(size) - order;" is equivalent to 1 << (get_order(size) - order);
-KR
--nvpublic
More information about the Linaro-mm-sig
mailing list