microblaze: Do not initialized regs->r1 twice in ELF_PLAT_INIT
authorMichal Simek <michal.simek@xilinx.com>
Thu, 15 Nov 2012 14:42:20 +0000 (15:42 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 13 Dec 2012 13:38:58 +0000 (14:38 +0100)
commitb881e99eeadcc5a6194e225ba3986fde545469d3
tree1a5d64024bf7c8a07488507f0be6e7a181d19d58
parent1475b0f4b4334564470a8606086a42954aa06ba9
microblaze: Do not initialized regs->r1 twice in ELF_PLAT_INIT

Fix ELF_PLAT_INIT macro which initialized r1 twice which
ends in compilation warning.

Warning log:
fs/binfmt_elf.c: In function 'load_elf_binary':
fs/binfmt_elf.c:981:2: warning: operation on 'regs->r1' may be undefined [-Wsequence-point]
  CC      fs/dcookies.o

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