Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updescription of BUILD_BUG_ON in linux-initialization-1.md #675
Comments
|
I would mark each point I identified in this doc, which I think should be improved here.
It is (PTRS_PER_PGD-1), so it should be:
And the same problem in:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Probably need rework. The current description bases on its definition in the arch/x86/boot/boot.h, while is not belonged to vmlinux, it is belonged to ZO image, which is produced under arch/x86/boot.
The real definition locates include/linux/build_bug.h
extend it along, will see it is a usage of GCC attribute