Re: doesn't ioremap() retrun contigious addressess...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeudi 28 février 2013 à 16:25 +0530, sandeep kumar a écrit :
> Sorry, Neglect the question.
> i am using a readl() which reads 4 bytes at a time. In the last
> iteration, it is trying to read next 4 unmapped locations.
> 

So you probably have to do this instead:

for(i=0;i<(SZ_16KB-1)/4;i++)
     src = readl(tcpm_base+(i * 4));

Regards
         
-- 
Yann Droneaud
OPTEYA




_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux