[PATCHv7 9/9] ARM: dma-mapping: add support for IOMMU mapper

Krishna Reddy vdumpa at nvidia.com
Wed Mar 7 02:06:13 EST 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 linux-arm-kernel mailing list