HomeFreeBSD

LinuxKPI: Remove linux/sched.h include from linux/kernel.h header

Description

LinuxKPI: Remove linux/sched.h include from linux/kernel.h header

This include prevents usage of any kernel.h helpers in sched.h and
all of dependencies. Linux does not have it too.
Fix building of kernel and drm-kmod after than.

Sponsored by: Serenity CyberSecurity, LLC
MFC after: 1 week
Reviewed by: manu, bz
Differential Revision: https://reviews.freebsd.org/D45692

Details

Provenance
wulfAuthored on Wed, Jun 26, 8:47 PM
Reviewer
manu
Differential Revision
D45692: LinuxKPI: Remove linux/sched.h include from linux/kernel.h header
Parents
rGd21316ff22b1: LinuxKPI: Add header polution to compile linux/numa.h
Branches
Unknown
Tags
Unknown