Thread (39 messages) 39 messages, 6 authors, 2012-03-30

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

From: vdumpa@nvidia.com (Krishna Reddy)
Date: 2012-03-07 07:06:23
Also in: linux-arch, linux-iommu, linux-mm, linux-samsung-soc

quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help