History

lib: reduce the use of module.h wherever possible

For files only using THIS_MODULE and/or EXPORT_SYMBOL, map them onto including export.h -- or if the file isn't even using those, then just delete the include. Fix up any implicit include dependencies that were being masked by module.h along the way.

Paul Gortmaker committed 15 years ago

Commit 8bc3bcc1 parent 630d9c463 files · +74 −63Browse files

Showing the changes to lib/cpu_rmap.c (1 of 63 files). Show all

Unified · Split

lib/cpu_rmap.c+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
11#ifdef CONFIG_GENERIC_HARDIRQS11#ifdef CONFIG_GENERIC_HARDIRQS
12#include <linux/interrupt.h>12#include <linux/interrupt.h>
13#endif13#endif
14#include <linux/module.h>14#include <linux/export.h>
15 15
16/*16/*
17 * These functions maintain a mapping from CPUs to some ordered set of17 * These functions maintain a mapping from CPUs to some ordered set of