microblaze: Use static inline functions in cacheflush.h
authorMichal Simek <michal.simek@xilinx.com>
Mon, 3 Jun 2013 09:30:04 +0000 (11:30 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 3 Jun 2013 09:33:23 +0000 (11:33 +0200)
commit62bc82a82bb1e2b5ee5048c088af7260ddb2b7b5
treee2225f62cc0ab404471a62d7a287b74d07995d5a
parent8706a6b6303dd75c7ee2baf2161de0f5a2fbdd8b
microblaze: Use static inline functions in cacheflush.h

Using static inline functions ensure proper type checking
which also remove compilation warning for no MMU

Compilation warning:
arch/microblaze/include/asm/cacheflush.h: warning: 'addr'
 may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/cacheflush.h