Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1592870
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] avr32: Fix build error caused by include file reshuffling |
| Date | 2017-03-06 02:10 +0100 |
| Message-ID | <thPjX-kX-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Various avr32 builds fail as follows.
arch/avr32/oprofile/backtrace.c:58: error:
dereferencing pointer to incomplete type
arch/avr32/oprofile/backtrace.c:60: error:
implicit declaration of function 'user_mode'
Fixes: f780d89a0e82 ("sched/headers: Remove <asm/ptrace.h> from ...")
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
Please feel free to ignore if av32 is going to be removed.
arch/avr32/oprofile/backtrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/avr32/oprofile/backtrace.c b/arch/avr32/oprofile/backtrace.c
index 75d9ad6f99cf..29cf2f191bfd 100644
--- a/arch/avr32/oprofile/backtrace.c
+++ b/arch/avr32/oprofile/backtrace.c
@@ -14,7 +14,7 @@
*/
#include <linux/oprofile.h>
-#include <linux/sched.h>
+#include <linux/ptrace.h>
#include <linux/uaccess.h>
/* The first two words of each frame on the stack look like this if we have
--
2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] avr32: Fix build error caused by include file reshuffling Guenter Roeck <linux@roeck-us.net> - 2017-03-06 02:10 +0100 Re: [PATCH] avr32: Fix build error caused by include file reshuffling Hans-Christian Noren Egtvedt <egtvedt@samfundet.no> - 2017-03-06 08:20 +0100 [tip:core/urgent] avr32: Fix build error caused by include file reshuffling tip-bot for Guenter Roeck <tipbot@zytor.com> - 2017-03-07 11:00 +0100
csiph-web