Include a note at the top to discourage people from including it in headers.
Unified · Split
| @@ -1,4 +1,13 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* | ||
| 3 | * NOTE: | ||
| 4 | * | ||
| 5 | * This header has combined a lot of unrelated to each other stuff. | ||
| 6 | * The process of splitting its content is in progress while keeping | ||
| 7 | * backward compatibility. That's why it's highly recommended NOT to | ||
| 8 | * include this header inside another header file, especially under | ||
| 9 | * generic or architectural include/ directory. | ||
| 10 | */ | ||
| 2 | #ifndef _LINUX_KERNEL_H | 11 | #ifndef _LINUX_KERNEL_H |
| 3 | #define _LINUX_KERNEL_H | 12 | #define _LINUX_KERNEL_H |
| 4 | 13 | ||