lkml.org 
[lkml]   [2021]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next 2/4] net: ipa: introduce dma_addr_high32()
From
Date
On 3/17/21 5:47 PM, Florian Fainelli wrote:
>> +/* Encapsulate extracting high-order 32 bits of DMA address */
>> +static u32 dma_addr_high32(dma_addr_t addr)
>> +{
>> +#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
>> + return (u32)(addr >> 32);
> You can probably use upper_32bits() here...

Where is that defined? I'd be glad to use it. -Alex

\
 
 \ /
  Last update: 2021-03-17 23:51    [W:0.040 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site