avr32: Fix build error caused by include file reshuffling
PATCH 1/1 avr32: Fix build error caused by include file reshuffling
Various avr32 builds fail as follows.
arch/avr32/oprofile/backtrace.c:58: error:
dereferencing pointer to incomplete typearch/avr32/oprofile/backtrace.c:60: error:
implicit declaration of function 'user_mode'
---
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(-)
arch/avr32/oprofile/backtrace.c +1 -1
@@ -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
Signature · 1 line
2.7.4
Quoted 10 lines · Guenter Roeck
Various avr32 builds fail as follows.
arch/avr32/oprofile/backtrace.c:58: error:
dereferencing pointer to incomplete typearch/avr32/oprofile/backtrace.c:60: error:
implicit declaration of function 'user_mode'Fixes f780d89a0e82 ("sched/headers: Remove <asm/ptrace.h> from ...")Cc Ingo Molnar <[email protected]>Signed-off-by Guenter Roeck <[email protected]>
Quoted 2 lines
---
Please feel free to ignore if av32 is going to be removed.
AVR32 is not going away for 4.11, we started the FYI and review process too late to make the window.
I think I will push it, to make sure AVR32 leaves the kernel in as good state as possible.
Quoted 16 lines
arch/avr32/oprofile/backtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/avr32/oprofile/backtrace.c +1
-1@@ -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
Signature · 2 lines
mvh Hans-Christian Noren Egtvedt
tip-bot for Guenter Roeck
merge botavr32: Fix build error caused by include file reshuffling
Commit-ID: 1fbdbcea80056acfc8c8506594744f5ec52208c1 Gitweb: http://git.kernel.org/tip/1fbdbcea80056acfc8c8506594744f5ec52208c1 Author: Guenter Roeck <[email protected]> AuthorDate: Sun, 5 Mar 2017 17:05:57 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Tue, 7 Mar 2017 08:35:48 +0100
avr32: Fix build error caused by include file reshuffling
Various avr32 builds fail:
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'
--- arch/avr32/oprofile/backtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/avr32/oprofile/backtrace.c +1 -1
@@ -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