diff options
Diffstat (limited to 'recipes-kernel/linux/linux-yocto/xlnx_3.8/0002-microblaze-Dont-mark-arch_kgdb_ops-as-const.patch')
-rw-r--r-- | recipes-kernel/linux/linux-yocto/xlnx_3.8/0002-microblaze-Dont-mark-arch_kgdb_ops-as-const.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/recipes-kernel/linux/linux-yocto/xlnx_3.8/0002-microblaze-Dont-mark-arch_kgdb_ops-as-const.patch b/recipes-kernel/linux/linux-yocto/xlnx_3.8/0002-microblaze-Dont-mark-arch_kgdb_ops-as-const.patch deleted file mode 100644 index 53be2bf4..00000000 --- a/recipes-kernel/linux/linux-yocto/xlnx_3.8/0002-microblaze-Dont-mark-arch_kgdb_ops-as-const.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From fd2c402c79a9a73e5b2384f0897f3f95f599afdd Mon Sep 17 00:00:00 2001 | ||
2 | From: Graeme Smecher <gsmecher@threespeedlogic.com> | ||
3 | Date: Sat, 8 Jun 2013 09:52:08 -0700 | ||
4 | Subject: [PATCH] microblaze: Don't mark arch_kgdb_ops as const. | ||
5 | |||
6 | Other architectures don't do it, and it conflicts with the extern'd definition | ||
7 | in include/linux/kgdb.h. | ||
8 | |||
9 | The patch fails checkpatch but it reflects current | ||
10 | functions declaration and solved compilation error. | ||
11 | |||
12 | Signed-off-by: Graeme Smecher <gsmecher@threespeedlogic.com> | ||
13 | CC: Michal Simek <monstr@monstr.eu> | ||
14 | CC: linux-kernel@vger.kernel.org | ||
15 | Signed-off-by: Michal Simek <michal.simek@xilinx.com> | ||
16 | --- | ||
17 | arch/microblaze/kernel/kgdb.c | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/arch/microblaze/kernel/kgdb.c b/arch/microblaze/kernel/kgdb.c | ||
21 | index 8adc9244..09a5e82 100644 | ||
22 | --- a/arch/microblaze/kernel/kgdb.c | ||
23 | +++ b/arch/microblaze/kernel/kgdb.c | ||
24 | @@ -141,7 +141,7 @@ void kgdb_arch_exit(void) | ||
25 | /* | ||
26 | * Global data | ||
27 | */ | ||
28 | -const struct kgdb_arch arch_kgdb_ops = { | ||
29 | +struct kgdb_arch arch_kgdb_ops = { | ||
30 | #ifdef __MICROBLAZEEL__ | ||
31 | .gdb_bpt_instr = {0x18, 0x00, 0x0c, 0xba}, /* brki r16, 0x18 */ | ||
32 | #else | ||
33 | -- | ||
34 | 1.8.4 | ||
35 | |||