Re: readb macro

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

 



Hi...


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;
}

maybe because console isn't fully initialized? try using
printk_early() instead...

regards,

Mulyadi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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