title: Endianness: le32_to_cpu in User Space
body: <p>I am writing a User Space mapped application using <code>/dev/mem</code>. Is there some function in the Linux kernel that does the equivalent of <code>le32_to_cpu</code> from user space ?</p>
  
  <p>Is there an alternate method to achieve this ?</p>
  
  <p>RRS</p>
  
  <p>P.S: I am cross-compiling this application for an embedded board (Xilinx Microblaze running Linux)</p>