diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-03-21 20:22:10 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-03-28 11:45:39 +0100 |
commit | 9e860351550b28901a78f122b1e2dc97f78ba369 (patch) | |
tree | 295ccda6682fa05851c8b55838669f5902e9a903 /net/switchdev | |
parent | completion: Use lockdep_assert_RT_in_threaded_ctx() in complete_all() (diff) | |
download | linux-9e860351550b28901a78f122b1e2dc97f78ba369.tar.xz linux-9e860351550b28901a78f122b1e2dc97f78ba369.zip |
m68knommu: Remove mm.h include from uaccess_no.h
In file included
from include/linux/huge_mm.h:8,
from include/linux/mm.h:567,
from arch/m68k/include/asm/uaccess_no.h:8,
from arch/m68k/include/asm/uaccess.h:3,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from kernel/locking/percpu-rwsem.c:6:
include/linux/fs.h:1422:29: error: array type has incomplete element type 'struct percpu_rw_semaphore'
1422 | struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS];
Removing the include of linux/mm.h from the uaccess header solves the problem
and various build tests of nommu configurations still work.
Fixes: 80fbaf1c3f29 ("rcuwait: Add @state argument to rcuwait_wait_event()")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lkml.kernel.org/r/87fte1qzh0.fsf@nanos.tec.linutronix.de
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions