History

Merge tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux

Pull cleanup of fs/ and lib/ users of module.h from Paul Gortmaker: "Fix up files in fs/ and lib/ dirs to only use module.h if they really need it. These are trivial in scope vs the work done previously. We now have things where any few remaining cleanups can be farmed out to arch or subsystem maintainers, and I have done so when possible. What is remaining here represents the bits that don't clearly lie within a single arch/subsystem boundary, like the fs dir and the lib dir. Some duplicate includes arising from overlapping fixes from independent subsystem maintainer submissions are also quashed." Fix up trivial conflicts due to clashes with other include file cleanups (including some due to the previous bug.h cleanup pull). * tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: lib: reduce the use of module.h wherever possible fs: reduce the use of module.h wherever possible includecheck: delete any duplicate instances of module.h

Linus Torvalds committed 14 years ago

Commit 11bcb322 parents ed2d265 8bc3bcc100 files · +100 −100Browse files

Unified · Split

100 files
  1. drivers/dma/imx-dma.c +0 −1
  2. drivers/dma/imx-sdma.c +0 −1
  3. drivers/mmc/host/sdhci-tegra.c +0 −1
  4. drivers/power/max8998_charger.c +0 −1
  5. drivers/staging/iio/gyro/adis16060_core.c +0 −1
  6. fs/aio.c +1 −1
  7. fs/attr.c +1 −1
  8. fs/bad_inode.c +1 −1
  9. fs/binfmt_flat.c +1 −1
  10. fs/bio.c +1 −1
  11. fs/buffer.c +1 −1
  12. fs/compat.c +0 −1
  13. fs/compat_ioctl.c +0 −1
  14. fs/dcache.c +1 −1
  15. fs/dcookies.c +1 −1
  16. fs/eventfd.c +1 −1
  17. fs/file.c +1 −1
  18. fs/fs-writeback.c +1 −1
  19. fs/fs_struct.c +1 −1
  20. fs/ioctl.c +1 −1
  21. fs/libfs.c +1 −1
  22. fs/mpage.c +1 −1
  23. fs/namei.c +1 −1
  24. fs/posix_acl.c +1 −1
  25. fs/read_write.c +1 −1
  26. fs/readdir.c +1 −1
  27. fs/select.c +1 −1
  28. fs/seq_file.c +1 −1
  29. fs/splice.c +1 −1
  30. fs/stack.c +1 −1
  31. fs/stat.c +1 −1
  32. fs/statfs.c +1 −1
  33. fs/super.c +1 −1
  34. fs/sync.c +1 −1
  35. fs/xattr.c +1 −1
  36. fs/xattr_acl.c +1 −1
  37. kernel/params.c +0 −1
  38. lib/argv_split.c +1 −1
  39. lib/atomic64.c +1 −1
  40. lib/average.c +1 −1
  41. lib/bcd.c +1 −1
  42. lib/bitmap.c +2 −1
  43. lib/bsearch.c +1 −1
  44. lib/check_signature.c +1 −1
  45. lib/checksum.c +1 −1
  46. lib/cmdline.c +1 −1
  47. lib/cpu_rmap.c +1 −1
  48. lib/cpumask.c +1 −1
  49. lib/ctype.c +2 −1
  50. lib/debug_locks.c +1 −1
  51. lib/dec_and_lock.c +1 −1
  52. lib/devres.c +1 −1
  53. lib/div64.c +2 −1
  54. lib/dump_stack.c +1 −1
  55. lib/fault-inject.c +1 −1
  56. lib/find_last_bit.c +1 −1
  57. lib/find_next_bit.c +1 −1
  58. lib/flex_array.c +1 −1
  59. lib/gcd.c +1 −1
  60. lib/genalloc.c +1 −1
  61. lib/halfmd4.c +1 −1
  62. lib/hexdump.c +1 −1
  63. lib/hweight.c +1 −1
  64. lib/idr.c +1 −1
  65. lib/int_sqrt.c +1 −1
  66. lib/iomap.c +1 −1
  67. lib/iomap_copy.c +1 −1
  68. lib/iommu-helper.c +1 −1
  69. lib/ioremap.c +1 −1
  70. lib/irq_regs.c +2 −1
  71. lib/kasprintf.c +1 −1
  72. lib/klist.c +1 −1
  73. lib/kobject.c +1 −1
  74. lib/kobject_uevent.c +2 −1
  75. lib/kstrtox.c +1 −1
  76. lib/lcm.c +1 −1
  77. lib/list_debug.c +1 −1
  78. lib/llist.c +1 −1
  79. lib/locking-selftest.c +0 −1
  80. lib/md5.c +1 −1
  81. lib/nlattr.c +1 −1
  82. lib/parser.c +2 −1
  83. lib/radix-tree.c +1 −1
  84. lib/random32.c +1 −1
  85. lib/ratelimit.c +1 −1
  86. lib/rational.c +2 −1
  87. lib/rbtree.c +1 −1
  88. lib/rwsem-spinlock.c +1 −1
  89. lib/rwsem.c +1 −1
  90. lib/scatterlist.c +1 −1
  91. lib/sha1.c +1 −1
  92. lib/smp_processor_id.c +1 −1
  93. lib/spinlock_debug.c +1 −1
  94. lib/string.c +3 −1
  95. lib/string_helpers.c +1 −1
  96. lib/swiotlb.c +1 −1
  97. lib/syscall.c +1 −1
  98. lib/timerqueue.c +1 −1
  99. lib/uuid.c +1 −1
  100. lib/vsprintf.c +1 −1
drivers/dma/imx-dma.c+0−1
@@ -14,7 +14,6 @@ · 13 unmodified lines
14 * http://www.gnu.org/copyleft/gpl.html14 * http://www.gnu.org/copyleft/gpl.html
15 */15 */
16#include <linux/init.h>16#include <linux/init.h>
17#include <linux/module.h>
18#include <linux/types.h>17#include <linux/types.h>
19#include <linux/mm.h>18#include <linux/mm.h>
20#include <linux/interrupt.h>19#include <linux/interrupt.h>
drivers/dma/imx-sdma.c+0−1
@@ -35,7 +35,6 @@ · 34 unmodified lines
35#include <linux/dmaengine.h>35#include <linux/dmaengine.h>
36#include <linux/of.h>36#include <linux/of.h>
37#include <linux/of_device.h>37#include <linux/of_device.h>
38#include <linux/module.h>
39 38
40#include <asm/irq.h>39#include <asm/irq.h>
41#include <mach/sdma.h>40#include <mach/sdma.h>
drivers/mmc/host/sdhci-tegra.c+0−1
@@ -23,7 +23,6 @@ · 22 unmodified lines
23#include <linux/gpio.h>23#include <linux/gpio.h>
24#include <linux/mmc/card.h>24#include <linux/mmc/card.h>
25#include <linux/mmc/host.h>25#include <linux/mmc/host.h>
26#include <linux/module.h>
27 26
28#include <asm/gpio.h>27#include <asm/gpio.h>
29 28
drivers/power/max8998_charger.c+0−1
@@ -19,7 +19,6 @@ · 18 unmodified lines
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */20 */
21 21
22#include <linux/module.h>
23#include <linux/err.h>22#include <linux/err.h>
24#include <linux/module.h>23#include <linux/module.h>
25#include <linux/slab.h>24#include <linux/slab.h>
drivers/staging/iio/gyro/adis16060_core.c+0−1
@@ -14,7 +14,6 @@ · 13 unmodified lines
14#include <linux/spi/spi.h>14#include <linux/spi/spi.h>
15#include <linux/slab.h>15#include <linux/slab.h>
16#include <linux/sysfs.h>16#include <linux/sysfs.h>
17#include <linux/module.h>
18 17
19#include "../iio.h"18#include "../iio.h"
20#include "../sysfs.h"19#include "../sysfs.h"
fs/aio.c+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
13#include <linux/errno.h>13#include <linux/errno.h>
14#include <linux/time.h>14#include <linux/time.h>
15#include <linux/aio_abi.h>15#include <linux/aio_abi.h>
16#include <linux/module.h>16#include <linux/export.h>
17#include <linux/syscalls.h>17#include <linux/syscalls.h>
18#include <linux/backing-dev.h>18#include <linux/backing-dev.h>
19#include <linux/uio.h>19#include <linux/uio.h>
fs/attr.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 * changes by Thomas Schoebel-Theuer5 * changes by Thomas Schoebel-Theuer
6 */6 */
7 7
8#include <linux/module.h>8#include <linux/export.h>
9#include <linux/time.h>9#include <linux/time.h>
10#include <linux/mm.h>10#include <linux/mm.h>
11#include <linux/string.h>11#include <linux/string.h>
fs/bad_inode.c+1−1
@@ -9,7 +9,7 @@ · 8 unmodified lines
9 */9 */
10 10
11#include <linux/fs.h>11#include <linux/fs.h>
12#include <linux/module.h>12#include <linux/export.h>
13#include <linux/stat.h>13#include <linux/stat.h>
14#include <linux/time.h>14#include <linux/time.h>
15#include <linux/namei.h>15#include <linux/namei.h>
fs/binfmt_flat.c+1−1
@@ -15,7 +15,7 @@ · 14 unmodified lines
15 * JAN/99 -- coded full program relocation (gerg@snapgear.com)15 * JAN/99 -- coded full program relocation (gerg@snapgear.com)
16 */16 */
17 17
18#include <linux/module.h>18#include <linux/export.h>
19#include <linux/kernel.h>19#include <linux/kernel.h>
20#include <linux/sched.h>20#include <linux/sched.h>
21#include <linux/mm.h>21#include <linux/mm.h>
fs/bio.c+1−1
@@ -22,7 +22,7 @@ · 21 unmodified lines
22#include <linux/slab.h>22#include <linux/slab.h>
23#include <linux/init.h>23#include <linux/init.h>
24#include <linux/kernel.h>24#include <linux/kernel.h>
25#include <linux/module.h>25#include <linux/export.h>
26#include <linux/mempool.h>26#include <linux/mempool.h>
27#include <linux/workqueue.h>27#include <linux/workqueue.h>
28#include <scsi/sg.h> /* for struct sg_iovec */28#include <scsi/sg.h> /* for struct sg_iovec */
fs/buffer.c+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
29#include <linux/file.h>29#include <linux/file.h>
30#include <linux/quotaops.h>30#include <linux/quotaops.h>
31#include <linux/highmem.h>31#include <linux/highmem.h>
32#include <linux/module.h>32#include <linux/export.h>
33#include <linux/writeback.h>33#include <linux/writeback.h>
34#include <linux/hash.h>34#include <linux/hash.h>
35#include <linux/suspend.h>35#include <linux/suspend.h>
fs/compat.c+0−1
@@ -33,7 +33,6 @@ · 32 unmodified lines
33#include <linux/nfs4_mount.h>33#include <linux/nfs4_mount.h>
34#include <linux/syscalls.h>34#include <linux/syscalls.h>
35#include <linux/ctype.h>35#include <linux/ctype.h>
36#include <linux/module.h>
37#include <linux/dirent.h>36#include <linux/dirent.h>
38#include <linux/fsnotify.h>37#include <linux/fsnotify.h>
39#include <linux/highuid.h>38#include <linux/highuid.h>
fs/compat_ioctl.c+0−1
@@ -49,7 +49,6 @@ · 48 unmodified lines
49#include <linux/elevator.h>49#include <linux/elevator.h>
50#include <linux/rtc.h>50#include <linux/rtc.h>
51#include <linux/pci.h>51#include <linux/pci.h>
52#include <linux/module.h>
53#include <linux/serial.h>52#include <linux/serial.h>
54#include <linux/if_tun.h>53#include <linux/if_tun.h>
55#include <linux/ctype.h>54#include <linux/ctype.h>
fs/dcache.c+1−1
@@ -23,7 +23,7 @@ · 22 unmodified lines
23#include <linux/init.h>23#include <linux/init.h>
24#include <linux/hash.h>24#include <linux/hash.h>
25#include <linux/cache.h>25#include <linux/cache.h>
26#include <linux/module.h>26#include <linux/export.h>
27#include <linux/mount.h>27#include <linux/mount.h>
28#include <linux/file.h>28#include <linux/file.h>
29#include <asm/uaccess.h>29#include <asm/uaccess.h>
fs/dcookies.c+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
13 */13 */
14 14
15#include <linux/syscalls.h>15#include <linux/syscalls.h>
16#include <linux/module.h>16#include <linux/export.h>
17#include <linux/slab.h>17#include <linux/slab.h>
18#include <linux/list.h>18#include <linux/list.h>
19#include <linux/mount.h>19#include <linux/mount.h>
fs/eventfd.c+1−1
@@ -16,7 +16,7 @@ · 15 unmodified lines
16#include <linux/spinlock.h>16#include <linux/spinlock.h>
17#include <linux/anon_inodes.h>17#include <linux/anon_inodes.h>
18#include <linux/syscalls.h>18#include <linux/syscalls.h>
19#include <linux/module.h>19#include <linux/export.h>
20#include <linux/kref.h>20#include <linux/kref.h>
21#include <linux/eventfd.h>21#include <linux/eventfd.h>
22 22
fs/file.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6 * Manage the dynamic fd arrays in the process files_struct.6 * Manage the dynamic fd arrays in the process files_struct.
7 */7 */
8 8
9#include <linux/module.h>9#include <linux/export.h>
10#include <linux/fs.h>10#include <linux/fs.h>
11#include <linux/mm.h>11#include <linux/mm.h>
12#include <linux/mmzone.h>12#include <linux/mmzone.h>
fs/fs-writeback.c+1−1
@@ -14,7 +14,7 @@ · 13 unmodified lines
14 */14 */
15 15
16#include <linux/kernel.h>16#include <linux/kernel.h>
17#include <linux/module.h>17#include <linux/export.h>
18#include <linux/spinlock.h>18#include <linux/spinlock.h>
19#include <linux/slab.h>19#include <linux/slab.h>
20#include <linux/sched.h>20#include <linux/sched.h>
fs/fs_struct.c+1−1
@@ -1,4 +1,4 @@
1#include <linux/module.h>1#include <linux/export.h>
2#include <linux/sched.h>2#include <linux/sched.h>
3#include <linux/fs.h>3#include <linux/fs.h>
4#include <linux/path.h>4#include <linux/path.h>
fs/ioctl.c+1−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
10#include <linux/file.h>10#include <linux/file.h>
11#include <linux/fs.h>11#include <linux/fs.h>
12#include <linux/security.h>12#include <linux/security.h>
13#include <linux/module.h>13#include <linux/export.h>
14#include <linux/uaccess.h>14#include <linux/uaccess.h>
15#include <linux/writeback.h>15#include <linux/writeback.h>
16#include <linux/buffer_head.h>16#include <linux/buffer_head.h>
fs/libfs.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 * Library for filesystems writers.3 * Library for filesystems writers.
4 */4 */
5 5
6#include <linux/module.h>6#include <linux/export.h>
7#include <linux/pagemap.h>7#include <linux/pagemap.h>
8#include <linux/slab.h>8#include <linux/slab.h>
9#include <linux/mount.h>9#include <linux/mount.h>
fs/mpage.c+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
13 */13 */
14 14
15#include <linux/kernel.h>15#include <linux/kernel.h>
16#include <linux/module.h>16#include <linux/export.h>
17#include <linux/mm.h>17#include <linux/mm.h>
18#include <linux/kdev_t.h>18#include <linux/kdev_t.h>
19#include <linux/gfp.h>19#include <linux/gfp.h>
fs/namei.c+1−1
@@ -15,7 +15,7 @@ · 14 unmodified lines
15 */15 */
16 16
17#include <linux/init.h>17#include <linux/init.h>
18#include <linux/module.h>18#include <linux/export.h>
19#include <linux/slab.h>19#include <linux/slab.h>
20#include <linux/fs.h>20#include <linux/fs.h>
21#include <linux/namei.h>21#include <linux/namei.h>
fs/posix_acl.c+1−1
@@ -18,7 +18,7 @@ · 17 unmodified lines
18#include <linux/fs.h>18#include <linux/fs.h>
19#include <linux/sched.h>19#include <linux/sched.h>
20#include <linux/posix_acl.h>20#include <linux/posix_acl.h>
21#include <linux/module.h>21#include <linux/export.h>
22 22
23#include <linux/errno.h>23#include <linux/errno.h>
24 24
fs/read_write.c+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
11#include <linux/uio.h>11#include <linux/uio.h>
12#include <linux/fsnotify.h>12#include <linux/fsnotify.h>
13#include <linux/security.h>13#include <linux/security.h>
14#include <linux/module.h>14#include <linux/export.h>
15#include <linux/syscalls.h>15#include <linux/syscalls.h>
16#include <linux/pagemap.h>16#include <linux/pagemap.h>
17#include <linux/splice.h>17#include <linux/splice.h>
fs/readdir.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6 6
7#include <linux/stddef.h>7#include <linux/stddef.h>
8#include <linux/kernel.h>8#include <linux/kernel.h>
9#include <linux/module.h>9#include <linux/export.h>
10#include <linux/time.h>10#include <linux/time.h>
11#include <linux/mm.h>11#include <linux/mm.h>
12#include <linux/errno.h>12#include <linux/errno.h>
fs/select.c+1−1
@@ -17,7 +17,7 @@ · 16 unmodified lines
17#include <linux/kernel.h>17#include <linux/kernel.h>
18#include <linux/sched.h>18#include <linux/sched.h>
19#include <linux/syscalls.h>19#include <linux/syscalls.h>
20#include <linux/module.h>20#include <linux/export.h>
21#include <linux/slab.h>21#include <linux/slab.h>
22#include <linux/poll.h>22#include <linux/poll.h>
23#include <linux/personality.h> /* for STICKY_TIMEOUTS */23#include <linux/personality.h> /* for STICKY_TIMEOUTS */
fs/seq_file.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6 */6 */
7 7
8#include <linux/fs.h>8#include <linux/fs.h>
9#include <linux/module.h>9#include <linux/export.h>
10#include <linux/seq_file.h>10#include <linux/seq_file.h>
11#include <linux/slab.h>11#include <linux/slab.h>
12 12
fs/splice.c+1−1
@@ -25,7 +25,7 @@ · 24 unmodified lines
25#include <linux/mm_inline.h>25#include <linux/mm_inline.h>
26#include <linux/swap.h>26#include <linux/swap.h>
27#include <linux/writeback.h>27#include <linux/writeback.h>
28#include <linux/module.h>28#include <linux/export.h>
29#include <linux/syscalls.h>29#include <linux/syscalls.h>
30#include <linux/uio.h>30#include <linux/uio.h>
31#include <linux/security.h>31#include <linux/security.h>
fs/stack.c+1−1
@@ -1,4 +1,4 @@
1#include <linux/module.h>1#include <linux/export.h>
2#include <linux/fs.h>2#include <linux/fs.h>
3#include <linux/fs_stack.h>3#include <linux/fs_stack.h>
4 4
fs/stat.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Copyright (C) 1991, 1992 Linus Torvalds4 * Copyright (C) 1991, 1992 Linus Torvalds
5 */5 */
6 6
7#include <linux/module.h>7#include <linux/export.h>
8#include <linux/mm.h>8#include <linux/mm.h>
9#include <linux/errno.h>9#include <linux/errno.h>
10#include <linux/file.h>10#include <linux/file.h>
fs/statfs.c+1−1
@@ -1,5 +1,5 @@
1#include <linux/syscalls.h>1#include <linux/syscalls.h>
2#include <linux/module.h>2#include <linux/export.h>
3#include <linux/fs.h>3#include <linux/fs.h>
4#include <linux/file.h>4#include <linux/file.h>
5#include <linux/mount.h>5#include <linux/mount.h>
fs/super.c+1−1
@@ -20,7 +20,7 @@ · 19 unmodified lines
20 * Heavily rewritten for 'one fs - one tree' dcache architecture. AV, Mar 200020 * Heavily rewritten for 'one fs - one tree' dcache architecture. AV, Mar 2000
21 */21 */
22 22
23#include <linux/module.h>23#include <linux/export.h>
24#include <linux/slab.h>24#include <linux/slab.h>
25#include <linux/acct.h>25#include <linux/acct.h>
26#include <linux/blkdev.h>26#include <linux/blkdev.h>
fs/sync.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6#include <linux/file.h>6#include <linux/file.h>
7#include <linux/fs.h>7#include <linux/fs.h>
8#include <linux/slab.h>8#include <linux/slab.h>
9#include <linux/module.h>9#include <linux/export.h>
10#include <linux/namei.h>10#include <linux/namei.h>
11#include <linux/sched.h>11#include <linux/sched.h>
12#include <linux/writeback.h>12#include <linux/writeback.h>
fs/xattr.c+1−1
@@ -16,7 +16,7 @@ · 15 unmodified lines
16#include <linux/security.h>16#include <linux/security.h>
17#include <linux/evm.h>17#include <linux/evm.h>
18#include <linux/syscalls.h>18#include <linux/syscalls.h>
19#include <linux/module.h>19#include <linux/export.h>
20#include <linux/fsnotify.h>20#include <linux/fsnotify.h>
21#include <linux/audit.h>21#include <linux/audit.h>
22#include <asm/uaccess.h>22#include <asm/uaccess.h>
fs/xattr_acl.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 * Copyright (C) 2001 by Andreas Gruenbacher, <a.gruenbacher@computer.org>5 * Copyright (C) 2001 by Andreas Gruenbacher, <a.gruenbacher@computer.org>
6 */6 */
7 7
8#include <linux/module.h>8#include <linux/export.h>
9#include <linux/fs.h>9#include <linux/fs.h>
10#include <linux/posix_acl_xattr.h>10#include <linux/posix_acl_xattr.h>
11#include <linux/gfp.h>11#include <linux/gfp.h>
kernel/params.c+0−1
@@ -15,7 +15,6 @@ · 14 unmodified lines
15 along with this program; if not, write to the Free Software15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17*/17*/
18#include <linux/module.h>
19#include <linux/kernel.h>18#include <linux/kernel.h>
20#include <linux/string.h>19#include <linux/string.h>
21#include <linux/errno.h>20#include <linux/errno.h>
lib/argv_split.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6#include <linux/ctype.h>6#include <linux/ctype.h>
7#include <linux/string.h>7#include <linux/string.h>
8#include <linux/slab.h>8#include <linux/slab.h>
9#include <linux/module.h>9#include <linux/export.h>
10 10
11static const char *skip_arg(const char *cp)11static const char *skip_arg(const char *cp)
12{12{
lib/atomic64.c+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
13#include <linux/cache.h>13#include <linux/cache.h>
14#include <linux/spinlock.h>14#include <linux/spinlock.h>
15#include <linux/init.h>15#include <linux/init.h>
16#include <linux/module.h>16#include <linux/export.h>
17#include <linux/atomic.h>17#include <linux/atomic.h>
18 18
19/*19/*
lib/average.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 * Version 2. See the file COPYING for more details.5 * Version 2. See the file COPYING for more details.
6 */6 */
7 7
8#include <linux/module.h>8#include <linux/export.h>
9#include <linux/average.h>9#include <linux/average.h>
10#include <linux/kernel.h>10#include <linux/kernel.h>
11#include <linux/bug.h>11#include <linux/bug.h>
lib/bcd.c+1−1
@@ -1,5 +1,5 @@
1#include <linux/bcd.h>1#include <linux/bcd.h>
2#include <linux/module.h>2#include <linux/export.h>
3 3
4unsigned bcd2bin(unsigned char val)4unsigned bcd2bin(unsigned char val)
5{5{
lib/bitmap.c+2−1
@@ -5,7 +5,8 @@ · 4 unmodified lines
5 * This source code is licensed under the GNU General Public License,5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.6 * Version 2. See the file COPYING for more details.
7 */7 */
8#include <linux/module.h>8#include <linux/export.h>
9#include <linux/thread_info.h>
9#include <linux/ctype.h>10#include <linux/ctype.h>
10#include <linux/errno.h>11#include <linux/errno.h>
11#include <linux/bitmap.h>12#include <linux/bitmap.h>
lib/bsearch.c+1−1
@@ -9,7 +9,7 @@ · 8 unmodified lines
9 * published by the Free Software Foundation; version 2.9 * published by the Free Software Foundation; version 2.
10 */10 */
11 11
12#include <linux/module.h>12#include <linux/export.h>
13#include <linux/bsearch.h>13#include <linux/bsearch.h>
14 14
15/*15/*
lib/check_signature.c+1−1
@@ -1,5 +1,5 @@
1#include <linux/io.h>1#include <linux/io.h>
2#include <linux/module.h>2#include <linux/export.h>
3 3
4/**4/**
5 * check_signature - find BIOS signatures5 * check_signature - find BIOS signatures
lib/checksum.c+1−1
@@ -32,7 +32,7 @@ · 31 unmodified lines
32/* Revised by Kenneth Albanowski for m68knommu. Basic problem: unaligned access32/* Revised by Kenneth Albanowski for m68knommu. Basic problem: unaligned access
33 kills, so most of the assembly has to go. */33 kills, so most of the assembly has to go. */
34 34
35#include <linux/module.h>35#include <linux/export.h>
36#include <net/checksum.h>36#include <net/checksum.h>
37 37
38#include <asm/byteorder.h>38#include <asm/byteorder.h>
lib/cmdline.c+1−1
@@ -12,7 +12,7 @@ · 11 unmodified lines
12 *12 *
13 */13 */
14 14
15#include <linux/module.h>15#include <linux/export.h>
16#include <linux/kernel.h>16#include <linux/kernel.h>
17#include <linux/string.h>17#include <linux/string.h>
18 18
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
lib/cpumask.c+1−1
@@ -2,7 +2,7 @@ · 1 unmodified line
2#include <linux/kernel.h>2#include <linux/kernel.h>
3#include <linux/bitops.h>3#include <linux/bitops.h>
4#include <linux/cpumask.h>4#include <linux/cpumask.h>
5#include <linux/module.h>5#include <linux/export.h>
6#include <linux/bootmem.h>6#include <linux/bootmem.h>
7 7
8int __first_cpu(const cpumask_t *srcp)8int __first_cpu(const cpumask_t *srcp)
lib/ctype.c+2−1
@@ -5,7 +5,8 @@ · 4 unmodified lines
5 */5 */
6 6
7#include <linux/ctype.h>7#include <linux/ctype.h>
8#include <linux/module.h>8#include <linux/compiler.h>
9#include <linux/export.h>
9 10
10const unsigned char _ctype[] = {11const unsigned char _ctype[] = {
11_C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */12_C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */
lib/debug_locks.c+1−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
10 */10 */
11#include <linux/rwsem.h>11#include <linux/rwsem.h>
12#include <linux/mutex.h>12#include <linux/mutex.h>
13#include <linux/module.h>13#include <linux/export.h>
14#include <linux/spinlock.h>14#include <linux/spinlock.h>
15#include <linux/debug_locks.h>15#include <linux/debug_locks.h>
16 16
lib/dec_and_lock.c+1−1
@@ -1,4 +1,4 @@
1#include <linux/module.h>1#include <linux/export.h>
2#include <linux/spinlock.h>2#include <linux/spinlock.h>
3#include <linux/atomic.h>3#include <linux/atomic.h>
4 4
lib/devres.c+1−1
@@ -1,7 +1,7 @@
1#include <linux/pci.h>1#include <linux/pci.h>
2#include <linux/io.h>2#include <linux/io.h>
3#include <linux/gfp.h>3#include <linux/gfp.h>
4#include <linux/module.h>4#include <linux/export.h>
5 5
6void devm_ioremap_release(struct device *dev, void *res)6void devm_ioremap_release(struct device *dev, void *res)
7{7{
lib/div64.c+2−1
@@ -16,7 +16,8 @@ · 15 unmodified lines
16 * assembly versions such as arch/ppc/lib/div64.S and arch/sh/lib/div64.S.16 * assembly versions such as arch/ppc/lib/div64.S and arch/sh/lib/div64.S.
17 */17 */
18 18
19#include <linux/module.h>19#include <linux/export.h>
20#include <linux/kernel.h>
20#include <linux/math64.h>21#include <linux/math64.h>
21 22
22/* Not needed on 64bit architectures */23/* Not needed on 64bit architectures */
lib/dump_stack.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 */4 */
5 5
6#include <linux/kernel.h>6#include <linux/kernel.h>
7#include <linux/module.h>7#include <linux/export.h>
8 8
9void dump_stack(void)9void dump_stack(void)
10{10{
lib/fault-inject.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5#include <linux/stat.h>5#include <linux/stat.h>
6#include <linux/types.h>6#include <linux/types.h>
7#include <linux/fs.h>7#include <linux/fs.h>
8#include <linux/module.h>8#include <linux/export.h>
9#include <linux/interrupt.h>9#include <linux/interrupt.h>
10#include <linux/stacktrace.h>10#include <linux/stacktrace.h>
11#include <linux/fault-inject.h>11#include <linux/fault-inject.h>
lib/find_last_bit.c+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
11 */11 */
12 12
13#include <linux/bitops.h>13#include <linux/bitops.h>
14#include <linux/module.h>14#include <linux/export.h>
15#include <asm/types.h>15#include <asm/types.h>
16#include <asm/byteorder.h>16#include <asm/byteorder.h>
17 17
lib/find_next_bit.c+1−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
10 */10 */
11 11
12#include <linux/bitops.h>12#include <linux/bitops.h>
13#include <linux/module.h>13#include <linux/export.h>
14#include <asm/types.h>14#include <asm/types.h>
15#include <asm/byteorder.h>15#include <asm/byteorder.h>
16 16
lib/flex_array.c+1−1
@@ -23,7 +23,7 @@ · 22 unmodified lines
23#include <linux/flex_array.h>23#include <linux/flex_array.h>
24#include <linux/slab.h>24#include <linux/slab.h>
25#include <linux/stddef.h>25#include <linux/stddef.h>
26#include <linux/module.h>26#include <linux/export.h>
27#include <linux/reciprocal_div.h>27#include <linux/reciprocal_div.h>
28 28
29struct flex_array_part {29struct flex_array_part {
lib/gcd.c+1−1
@@ -1,6 +1,6 @@
1#include <linux/kernel.h>1#include <linux/kernel.h>
2#include <linux/gcd.h>2#include <linux/gcd.h>
3#include <linux/module.h>3#include <linux/export.h>
4 4
5/* Greatest common divisor */5/* Greatest common divisor */
6unsigned long gcd(unsigned long a, unsigned long b)6unsigned long gcd(unsigned long a, unsigned long b)
lib/genalloc.c+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
29 */29 */
30 30
31#include <linux/slab.h>31#include <linux/slab.h>
32#include <linux/module.h>32#include <linux/export.h>
33#include <linux/bitmap.h>33#include <linux/bitmap.h>
34#include <linux/rculist.h>34#include <linux/rculist.h>
35#include <linux/interrupt.h>35#include <linux/interrupt.h>
lib/halfmd4.c+1−1
@@ -1,5 +1,5 @@
1#include <linux/kernel.h>1#include <linux/kernel.h>
2#include <linux/module.h>2#include <linux/export.h>
3#include <linux/cryptohash.h>3#include <linux/cryptohash.h>
4 4
5/* F, G and H are basic MD4 functions: selection, majority, parity */5/* F, G and H are basic MD4 functions: selection, majority, parity */
lib/hexdump.c+1−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
10#include <linux/types.h>10#include <linux/types.h>
11#include <linux/ctype.h>11#include <linux/ctype.h>
12#include <linux/kernel.h>12#include <linux/kernel.h>
13#include <linux/module.h>13#include <linux/export.h>
14 14
15const char hex_asc[] = "0123456789abcdef";15const char hex_asc[] = "0123456789abcdef";
16EXPORT_SYMBOL(hex_asc);16EXPORT_SYMBOL(hex_asc);
lib/hweight.c+1−1
@@ -1,4 +1,4 @@
1#include <linux/module.h>1#include <linux/export.h>
2#include <linux/bitops.h>2#include <linux/bitops.h>
3#include <asm/types.h>3#include <asm/types.h>
4 4
lib/idr.c+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
29#ifndef TEST // to test in user space...29#ifndef TEST // to test in user space...
30#include <linux/slab.h>30#include <linux/slab.h>
31#include <linux/init.h>31#include <linux/init.h>
32#include <linux/module.h>32#include <linux/export.h>
33#endif33#endif
34#include <linux/err.h>34#include <linux/err.h>
35#include <linux/string.h>35#include <linux/string.h>
lib/int_sqrt.c+1−1
@@ -1,6 +1,6 @@
1 1
2#include <linux/kernel.h>2#include <linux/kernel.h>
3#include <linux/module.h>3#include <linux/export.h>
4 4
5/**5/**
6 * int_sqrt - rough approximation to sqrt6 * int_sqrt - rough approximation to sqrt
lib/iomap.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6#include <linux/pci.h>6#include <linux/pci.h>
7#include <linux/io.h>7#include <linux/io.h>
8 8
9#include <linux/module.h>9#include <linux/export.h>
10 10
11/*11/*
12 * Read/write from/to an (offsettable) iomem cookie. It might be a PIO12 * Read/write from/to an (offsettable) iomem cookie. It might be a PIO
lib/iomap_copy.c+1−1
@@ -15,7 +15,7 @@ · 14 unmodified lines
15 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.15 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
16 */16 */
17 17
18#include <linux/module.h>18#include <linux/export.h>
19#include <linux/io.h>19#include <linux/io.h>
20 20
21/**21/**
lib/iommu-helper.c+1−1
@@ -2,7 +2,7 @@ · 1 unmodified line
2 * IOMMU helper functions for the free area management2 * IOMMU helper functions for the free area management
3 */3 */
4 4
5#include <linux/module.h>5#include <linux/export.h>
6#include <linux/bitmap.h>6#include <linux/bitmap.h>
7#include <linux/bug.h>7#include <linux/bug.h>
8 8
lib/ioremap.c+1−1
@@ -9,7 +9,7 @@ · 8 unmodified lines
9#include <linux/mm.h>9#include <linux/mm.h>
10#include <linux/sched.h>10#include <linux/sched.h>
11#include <linux/io.h>11#include <linux/io.h>
12#include <linux/module.h>12#include <linux/export.h>
13#include <asm/cacheflush.h>13#include <asm/cacheflush.h>
14#include <asm/pgtable.h>14#include <asm/pgtable.h>
15 15
lib/irq_regs.c+2−1
@@ -8,7 +8,8 @@ · 7 unmodified lines
8 * as published by the Free Software Foundation; either version8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.9 * 2 of the License, or (at your option) any later version.
10 */10 */
11#include <linux/module.h>11#include <linux/export.h>
12#include <linux/percpu.h>
12#include <asm/irq_regs.h>13#include <asm/irq_regs.h>
13 14
14#ifndef ARCH_HAS_OWN_IRQ_REGS15#ifndef ARCH_HAS_OWN_IRQ_REGS
lib/kasprintf.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 */5 */
6 6
7#include <stdarg.h>7#include <stdarg.h>
8#include <linux/module.h>8#include <linux/export.h>
9#include <linux/slab.h>9#include <linux/slab.h>
10#include <linux/types.h>10#include <linux/types.h>
11#include <linux/string.h>11#include <linux/string.h>
lib/klist.c+1−1
@@ -35,7 +35,7 @@ · 34 unmodified lines
35 */35 */
36 36
37#include <linux/klist.h>37#include <linux/klist.h>
38#include <linux/module.h>38#include <linux/export.h>
39#include <linux/sched.h>39#include <linux/sched.h>
40 40
41/*41/*
lib/kobject.c+1−1
@@ -14,7 +14,7 @@ · 13 unmodified lines
14 14
15#include <linux/kobject.h>15#include <linux/kobject.h>
16#include <linux/string.h>16#include <linux/string.h>
17#include <linux/module.h>17#include <linux/export.h>
18#include <linux/stat.h>18#include <linux/stat.h>
19#include <linux/slab.h>19#include <linux/slab.h>
20 20
lib/kobject_uevent.c+2−1
@@ -17,7 +17,8 @@ · 16 unmodified lines
17#include <linux/spinlock.h>17#include <linux/spinlock.h>
18#include <linux/string.h>18#include <linux/string.h>
19#include <linux/kobject.h>19#include <linux/kobject.h>
20#include <linux/module.h>20#include <linux/export.h>
21#include <linux/kmod.h>
21#include <linux/slab.h>22#include <linux/slab.h>
22#include <linux/user_namespace.h>23#include <linux/user_namespace.h>
23#include <linux/socket.h>24#include <linux/socket.h>
lib/kstrtox.c+1−1
@@ -15,7 +15,7 @@ · 14 unmodified lines
15#include <linux/errno.h>15#include <linux/errno.h>
16#include <linux/kernel.h>16#include <linux/kernel.h>
17#include <linux/math64.h>17#include <linux/math64.h>
18#include <linux/module.h>18#include <linux/export.h>
19#include <linux/types.h>19#include <linux/types.h>
20#include <asm/uaccess.h>20#include <asm/uaccess.h>
21#include "kstrtox.h"21#include "kstrtox.h"
lib/lcm.c+1−1
@@ -1,6 +1,6 @@
1#include <linux/kernel.h>1#include <linux/kernel.h>
2#include <linux/gcd.h>2#include <linux/gcd.h>
3#include <linux/module.h>3#include <linux/export.h>
4#include <linux/lcm.h>4#include <linux/lcm.h>
5 5
6/* Lowest common multiple */6/* Lowest common multiple */
lib/list_debug.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6 * DEBUG_LIST.6 * DEBUG_LIST.
7 */7 */
8 8
9#include <linux/module.h>9#include <linux/export.h>
10#include <linux/list.h>10#include <linux/list.h>
11#include <linux/bug.h>11#include <linux/bug.h>
12#include <linux/kernel.h>12#include <linux/kernel.h>
lib/llist.c+1−1
@@ -23,7 +23,7 @@ · 22 unmodified lines
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 */24 */
25#include <linux/kernel.h>25#include <linux/kernel.h>
26#include <linux/module.h>26#include <linux/export.h>
27#include <linux/interrupt.h>27#include <linux/interrupt.h>
28#include <linux/llist.h>28#include <linux/llist.h>
29 29
lib/locking-selftest.c+0−1
@@ -14,7 +14,6 @@ · 13 unmodified lines
14#include <linux/mutex.h>14#include <linux/mutex.h>
15#include <linux/sched.h>15#include <linux/sched.h>
16#include <linux/delay.h>16#include <linux/delay.h>
17#include <linux/module.h>
18#include <linux/lockdep.h>17#include <linux/lockdep.h>
19#include <linux/spinlock.h>18#include <linux/spinlock.h>
20#include <linux/kallsyms.h>19#include <linux/kallsyms.h>
lib/md5.c+1−1
@@ -1,5 +1,5 @@
1#include <linux/kernel.h>1#include <linux/kernel.h>
2#include <linux/module.h>2#include <linux/export.h>
3#include <linux/cryptohash.h>3#include <linux/cryptohash.h>
4 4
5#define F1(x, y, z) (z ^ (x & (y ^ z)))5#define F1(x, y, z) (z ^ (x & (y ^ z)))
lib/nlattr.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>5 * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
6 */6 */
7 7
8#include <linux/module.h>8#include <linux/export.h>
9#include <linux/kernel.h>9#include <linux/kernel.h>
10#include <linux/errno.h>10#include <linux/errno.h>
11#include <linux/jiffies.h>11#include <linux/jiffies.h>
lib/parser.c+2−1
@@ -6,7 +6,8 @@ · 5 unmodified lines
6 */6 */
7 7
8#include <linux/ctype.h>8#include <linux/ctype.h>
9#include <linux/module.h>9#include <linux/types.h>
10#include <linux/export.h>
10#include <linux/parser.h>11#include <linux/parser.h>
11#include <linux/slab.h>12#include <linux/slab.h>
12#include <linux/string.h>13#include <linux/string.h>
lib/radix-tree.c+1−1
@@ -22,7 +22,7 @@ · 21 unmodified lines
22#include <linux/errno.h>22#include <linux/errno.h>
23#include <linux/init.h>23#include <linux/init.h>
24#include <linux/kernel.h>24#include <linux/kernel.h>
25#include <linux/module.h>25#include <linux/export.h>
26#include <linux/radix-tree.h>26#include <linux/radix-tree.h>
27#include <linux/percpu.h>27#include <linux/percpu.h>
28#include <linux/slab.h>28#include <linux/slab.h>
lib/random32.c+1−1
@@ -35,7 +35,7 @@ · 34 unmodified lines
35 35
36#include <linux/types.h>36#include <linux/types.h>
37#include <linux/percpu.h>37#include <linux/percpu.h>
38#include <linux/module.h>38#include <linux/export.h>
39#include <linux/jiffies.h>39#include <linux/jiffies.h>
40#include <linux/random.h>40#include <linux/random.h>
41 41
lib/ratelimit.c+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
11 11
12#include <linux/ratelimit.h>12#include <linux/ratelimit.h>
13#include <linux/jiffies.h>13#include <linux/jiffies.h>
14#include <linux/module.h>14#include <linux/export.h>
15 15
16/*16/*
17 * __ratelimit - rate limiting17 * __ratelimit - rate limiting
lib/rational.c+2−1
@@ -7,7 +7,8 @@ · 6 unmodified lines
7 */7 */
8 8
9#include <linux/rational.h>9#include <linux/rational.h>
10#include <linux/module.h>10#include <linux/compiler.h>
11#include <linux/export.h>
11 12
12/*13/*
13 * calculate best rational approximation for a given fraction14 * calculate best rational approximation for a given fraction
lib/rbtree.c+1−1
@@ -21,7 +21,7 @@ · 20 unmodified lines
21*/21*/
22 22
23#include <linux/rbtree.h>23#include <linux/rbtree.h>
24#include <linux/module.h>24#include <linux/export.h>
25 25
26static void __rb_rotate_left(struct rb_node *node, struct rb_root *root)26static void __rb_rotate_left(struct rb_node *node, struct rb_root *root)
27{27{
lib/rwsem-spinlock.c+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
7 */7 */
8#include <linux/rwsem.h>8#include <linux/rwsem.h>
9#include <linux/sched.h>9#include <linux/sched.h>
10#include <linux/module.h>10#include <linux/export.h>
11 11
12struct rwsem_waiter {12struct rwsem_waiter {
13 struct list_head list;13 struct list_head list;
lib/rwsem.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6#include <linux/rwsem.h>6#include <linux/rwsem.h>
7#include <linux/sched.h>7#include <linux/sched.h>
8#include <linux/init.h>8#include <linux/init.h>
9#include <linux/module.h>9#include <linux/export.h>
10 10
11/*11/*
12 * Initialize an rwsem:12 * Initialize an rwsem:
lib/scatterlist.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6 * This source code is licensed under the GNU General Public License,6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.7 * Version 2. See the file COPYING for more details.
8 */8 */
9#include <linux/module.h>9#include <linux/export.h>
10#include <linux/slab.h>10#include <linux/slab.h>
11#include <linux/scatterlist.h>11#include <linux/scatterlist.h>
12#include <linux/highmem.h>12#include <linux/highmem.h>
lib/sha1.c+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
6 */6 */
7 7
8#include <linux/kernel.h>8#include <linux/kernel.h>
9#include <linux/module.h>9#include <linux/export.h>
10#include <linux/bitops.h>10#include <linux/bitops.h>
11#include <linux/cryptohash.h>11#include <linux/cryptohash.h>
12#include <asm/unaligned.h>12#include <asm/unaligned.h>
lib/smp_processor_id.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * DEBUG_PREEMPT variant of smp_processor_id().4 * DEBUG_PREEMPT variant of smp_processor_id().
5 */5 */
6#include <linux/module.h>6#include <linux/export.h>
7#include <linux/kallsyms.h>7#include <linux/kallsyms.h>
8#include <linux/sched.h>8#include <linux/sched.h>
9 9
lib/spinlock_debug.c+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
11#include <linux/interrupt.h>11#include <linux/interrupt.h>
12#include <linux/debug_locks.h>12#include <linux/debug_locks.h>
13#include <linux/delay.h>13#include <linux/delay.h>
14#include <linux/module.h>14#include <linux/export.h>
15 15
16void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name,16void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name,
17 struct lock_class_key *key)17 struct lock_class_key *key)
lib/string.c+3−1
@@ -22,8 +22,10 @@ · 21 unmodified lines
22#include <linux/types.h>22#include <linux/types.h>
23#include <linux/string.h>23#include <linux/string.h>
24#include <linux/ctype.h>24#include <linux/ctype.h>
25#include <linux/kernel.h>
26#include <linux/export.h>
25#include <linux/bug.h>27#include <linux/bug.h>
26#include <linux/module.h>28#include <linux/errno.h>
27 29
28#ifndef __HAVE_ARCH_STRNICMP30#ifndef __HAVE_ARCH_STRNICMP
29/**31/**
lib/string_helpers.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 */5 */
6#include <linux/kernel.h>6#include <linux/kernel.h>
7#include <linux/math64.h>7#include <linux/math64.h>
8#include <linux/module.h>8#include <linux/export.h>
9#include <linux/string_helpers.h>9#include <linux/string_helpers.h>
10 10
11/**11/**
lib/swiotlb.c+1−1
@@ -20,7 +20,7 @@ · 19 unmodified lines
20#include <linux/cache.h>20#include <linux/cache.h>
21#include <linux/dma-mapping.h>21#include <linux/dma-mapping.h>
22#include <linux/mm.h>22#include <linux/mm.h>
23#include <linux/module.h>23#include <linux/export.h>
24#include <linux/spinlock.h>24#include <linux/spinlock.h>
25#include <linux/string.h>25#include <linux/string.h>
26#include <linux/swiotlb.h>26#include <linux/swiotlb.h>
lib/syscall.c+1−1
@@ -1,6 +1,6 @@
1#include <linux/ptrace.h>1#include <linux/ptrace.h>
2#include <linux/sched.h>2#include <linux/sched.h>
3#include <linux/module.h>3#include <linux/export.h>
4#include <asm/syscall.h>4#include <asm/syscall.h>
5 5
6static int collect_syscall(struct task_struct *target, long *callno,6static int collect_syscall(struct task_struct *target, long *callno,
lib/timerqueue.c+1−1
@@ -25,7 +25,7 @@ · 24 unmodified lines
25#include <linux/bug.h>25#include <linux/bug.h>
26#include <linux/timerqueue.h>26#include <linux/timerqueue.h>
27#include <linux/rbtree.h>27#include <linux/rbtree.h>
28#include <linux/module.h>28#include <linux/export.h>
29 29
30/**30/**
31 * timerqueue_add - Adds timer to timerqueue.31 * timerqueue_add - Adds timer to timerqueue.
lib/uuid.c+1−1
@@ -19,7 +19,7 @@ · 18 unmodified lines
19 */19 */
20 20
21#include <linux/kernel.h>21#include <linux/kernel.h>
22#include <linux/module.h>22#include <linux/export.h>
23#include <linux/uuid.h>23#include <linux/uuid.h>
24#include <linux/random.h>24#include <linux/random.h>
25 25
lib/vsprintf.c+1−1
@@ -17,7 +17,7 @@ · 16 unmodified lines
17 */17 */
18 18
19#include <stdarg.h>19#include <stdarg.h>
20#include <linux/module.h>20#include <linux/module.h> /* for KSYM_SYMBOL_LEN */
21#include <linux/types.h>21#include <linux/types.h>
22#include <linux/string.h>22#include <linux/string.h>
23#include <linux/ctype.h>23#include <linux/ctype.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t