mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
kernel.h: include a note to discourage people from including it in headers
Include a note at the top to discourage people from including it in headers. Link: https://lkml.kernel.org/r/20211209150803.4473-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
22c033989c
commit
40cbf09f06
1 changed files with 9 additions and 0 deletions
|
@ -1,4 +1,13 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* NOTE:
|
||||
*
|
||||
* This header has combined a lot of unrelated to each other stuff.
|
||||
* The process of splitting its content is in progress while keeping
|
||||
* backward compatibility. That's why it's highly recommended NOT to
|
||||
* include this header inside another header file, especially under
|
||||
* generic or architectural include/ directory.
|
||||
*/
|
||||
#ifndef _LINUX_KERNEL_H
|
||||
#define _LINUX_KERNEL_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue