diff options
author | Thierry Reding <treding@nvidia.com> | 2016-01-16 03:58:18 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-16 22:17:24 +0300 |
commit | 979559362516bb0f5424505c607210ac054e30ae (patch) | |
tree | 1c0ba4cc67a030a54f2e1cb8082846f260578352 /include/memory | |
parent | b493c34309cb4aebc44272897067ebf54cb07271 (diff) | |
download | linux-979559362516bb0f5424505c607210ac054e30ae.tar.xz |
asm/sections: add helpers to check for section data
Add a helper to check if an object (given an address and a size) is part
of a section (given beginning and end addresses). For convenience, also
provide a helper that performs this check for __init data using the
__init_begin and __init_end limits.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions