Include a note at the top to discourage people from including it in headers.
Showing the changes to include (1 of 1 file). Show all
Unified · Split
| @@ -1,4 +1,13 @@ | ||
| 1 | 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 | 11 | #ifndef _LINUX_KERNEL_H |
| 3 | 12 | #define _LINUX_KERNEL_H |
| 4 | 13 | |