Skip to content
Commit 88a68672 authored by Sasha Levin's avatar Sasha Levin Committed by Masahiro Yamada
Browse files

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: default avatarSasha Levin <sashal@kernel.org>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 9b82f13e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment