summaryrefslogtreecommitdiff
path: root/net/dsa/dsa2.c
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2022-10-22 16:56:36 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-10 19:08:38 +0100
commit9b351be25360c5cedfb98b88d6dfd89327849e52 (patch)
tree231089a7aeeb7cb672912f77343c3bc81002ad2c /net/dsa/dsa2.c
parentd3d76fbde1c456a6d19991baa99ea8c2d6e6696f (diff)
downloadlinux-9b351be25360c5cedfb98b88d6dfd89327849e52.tar.gz
linux-9b351be25360c5cedfb98b88d6dfd89327849e52.tar.bz2
linux-9b351be25360c5cedfb98b88d6dfd89327849e52.zip
vmlinux.lds.h: add BOUNDED_SECTION* macros
vmlinux.lds.h has ~45 occurrences of this general pattern: __start_foo = .; KEEP(*(foo)) __stop_foo = .; Reduce this pattern to a (group of 4) macros, and use them to reduce linecount. This was inspired by the codetag patchset. no functional change. CC: Suren Baghdasaryan <surenb@google.com> CC: Kent Overstreet <kent.overstreet@linux.dev> Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Link: https://lore.kernel.org/r/20221022225637.1406715-2-jim.cromie@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/dsa/dsa2.c')
0 files changed, 0 insertions, 0 deletions