Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

microblaze: Don't mark arch_kgdb_ops as const.

Other architectures don't do it, and it conflicts with the extern'd definition
in include/linux/kgdb.h.

The patch fails checkpatch but it reflects current
functions declaration and solved compilation error.

Signed-off-by: Graeme Smecher <gsmecher@threespeedlogic.com>
CC: Michal Simek <monstr@monstr.eu>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

authored by

Graeme Smecher and committed by
Michal Simek
218a12f1 9e895ace

+1 -1
+1 -1
arch/microblaze/kernel/kgdb.c
··· 141 141 /* 142 142 * Global data 143 143 */ 144 - const struct kgdb_arch arch_kgdb_ops = { 144 + struct kgdb_arch arch_kgdb_ops = { 145 145 #ifdef __MICROBLAZEEL__ 146 146 .gdb_bpt_instr = {0x18, 0x00, 0x0c, 0xba}, /* brki r16, 0x18 */ 147 147 #else