readb macro

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

 



i inserted a printk in asm/io.h in the __readb function to get some data about mmio transfer. I am able to compile the kernel properly but donno why it crashes at boot time.Can anyone help me with this. what can be the reason for this crash.this is what i have done.

static __always_inline __u32 __readl(const volatile void __iomem *addr)
{
   
    printk("r bytes 4 addr %p \n",addr);
    return *(__force volatile __u32 *)addr;
}


thanks
devvrat

[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