Skip to content
Commit b5a44a6a authored by Noah Goldstein's avatar Noah Goldstein Committed by Sunil K Pandey
Browse files

x86: Modify ENTRY in sysdep.h so that p2align can be specified



No bug.

This change adds a new macro ENTRY_P2ALIGN which takes a second
argument, log2 of the desired function alignment.

The old ENTRY(name) macro is just ENTRY_P2ALIGN(name, 4) so this
doesn't affect any existing functionality.

Signed-off-by: default avatarNoah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit fc5bd179)
parent 16245986
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment