avr32: Fix build error caused by include file reshuffling
authorGuenter Roeck <linux@roeck-us.net>
Mon, 6 Mar 2017 01:05:57 +0000 (17:05 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Mar 2017 07:35:48 +0000 (08:35 +0100)
commit1fbdbcea80056acfc8c8506594744f5ec52208c1
tree87e70c627d1111f978a79967d08f5852b6e6bd9e
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
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'

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <rric@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: oprofile-list@lists.sf.net
Fixes: f780d89a0e82 ("sched/headers: Remove <asm/ptrace.h> from ...")
Link: http://lkml.kernel.org/r/1488762357-4500-1-git-send-email-linux@roeck-us.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/avr32/oprofile/backtrace.c