asm-generic: move cmpxchg*_local defs to cmpxchg.h

asm/cmpxchg.h can be included on its own and needs to be self-consistent.
The definitions for the cmpxchg*_local macros, as such, need to be part
of this file.

This fixes a build issue on OpenRISC since the system.h smashing patch
96f951edb1f1bdbbc99b0cd458f9808bb83d58ae that introdued the direct inclusion
asm/cmpxchg.h into linux/llist.h.

CC: David Howells <dhowells@redhat.com>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
microblaze: Fix passing kernel command line from bootloader

This patch fix the problem with overwritten cmdline by
chosen one from DT. Bootloader has a higher precedence
than DT.

Reported-by: Martin Townsend <martin.townsend@xsilon.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>