forked from Minki/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>
This commit is contained in:
parent
9e895ace5d
commit
218a12f1f4
@ -141,7 +141,7 @@ void kgdb_arch_exit(void)
|
||||
/*
|
||||
* Global data
|
||||
*/
|
||||
const struct kgdb_arch arch_kgdb_ops = {
|
||||
struct kgdb_arch arch_kgdb_ops = {
|
||||
#ifdef __MICROBLAZEEL__
|
||||
.gdb_bpt_instr = {0x18, 0x00, 0x0c, 0xba}, /* brki r16, 0x18 */
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user