lkml.org 
[lkml]   [2013]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] avr32: Remove HAVE_KPROBES from avr32 Kconfig
Although there's a arch/avr32/kernel/kprobes.c file, this arch does not
compile with kprobes enabled:

In file included from cross-linux.git/arch/avr32/kernel/kprobes.c:14:
cross-linux.git/include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
cross-linux.git/include/linux/kprobes.h:358: error: invalid use of undefined type 'struct kprobe_ctlblk'
cross-linux.git/include/linux/kprobes.h:358: error: dereferencing pointer to incomplete type
make[2]: *** [arch/avr32/kernel/kprobes.o] Error 1

This is because it does not define the required kprobe_ctlblk struct,
and fails to compile when CONFIG_KPROBES is set.

Unfortunately, this also makes my testing of various configs for
different archs to fail on avr32 as well.

If kprobes is not supported by avr32 than do not say that it is.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index b6878eb..25bcc62 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -5,7 +5,6 @@ config AVR32
select EXPERT
select HAVE_CLK
select HAVE_OPROFILE
- select HAVE_KPROBES
select VIRT_TO_BUS
select GENERIC_IRQ_PROBE
select GENERIC_ATOMIC64

\
 
 \ /
  Last update: 2013-11-06 19:01    [W:0.045 / U:1.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site