]> git.ipfire.org Git - thirdparty/linux.git/commit - Makefile
kbuild: simplify access to the kernel's version
authorSasha Levin <sashal@kernel.org>
Fri, 12 Feb 2021 16:29:24 +0000 (11:29 -0500)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 16 Feb 2021 03:01:45 +0000 (12:01 +0900)
commit88a686728b3739d3598851e729c0e81f194e5c53
tree4de7baef4769c087f14d7aef4f0b4803cd290706
parent9b82f13e7ef316cdc0a8858f1349f4defce3f9e0
kbuild: simplify access to the kernel's version

Instead of storing the version in a single integer and having various
kernel (and userspace) code how it's constructed, export individual
(major, patchlevel, sublevel) components and simplify kernel code that
uses it.

This should also make it easier on userspace.

Signed-off-by: Sasha Levin <sashal@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/usb/core/hcd.c
drivers/usb/gadget/udc/aspeed-vhub/hub.c
include/linux/usb/composite.h
kernel/sys.c