summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2019-08-02 12:37:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-25 10:53:03 +0200
commitedc966de8725f9186cc9358214da89d335f0e0bd (patch)
treeed9eea700c377bcdeb5bb12a97abf5f6359b115a /include/linux/module.h
parent8a2d56eed153eb07fd3a9b2224b880af2e9d572a (diff)
Backport minimal compiler_attributes.h to support GCC 9
This adds support for __copy to v4.9.y so that we can use it in init/exit_module to avoid -Werror=missing-attributes errors on GCC 9. Link: https://lore.kernel.org/lkml/259986242.BvXPX32bHu@devpool35/ Cc: <stable@vger.kernel.org> Suggested-by: Rolf Eike Beer <eb@emlix.com> Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions