Re: [PATCH 4/4] kbuild: make LINUX_VERSION_CODE in more readable

2019-01-02 Thread Masahiro Yamada
On Mon, Dec 31, 2018 at 5:25 PM Masahiro Yamada wrote: > > Makefile does not need to calculate LINUX_VERSION_CODE. > Let's leave it to the preprocessor. > > This commit changes include/generated/uapi/linux/version.h as follows: > > Before: > > #define LINUX_VERSION_CODE 267264 > #define KERNEL

[PATCH 4/4] kbuild: make LINUX_VERSION_CODE in more readable

2018-12-31 Thread Masahiro Yamada
Makefile does not need to calculate LINUX_VERSION_CODE. Let's leave it to the preprocessor. This commit changes include/generated/uapi/linux/version.h as follows: Before: #define LINUX_VERSION_CODE 267264 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) After: #define LINUX