提交 8b0a8aaf 编写于 作者: G Glauber Costa 提交者: Ingo Molnar

x86: introduce likely in macro.

Put the likely hint in access_ok. Just for
bisectability.
Signed-off-by: NGlauber Costa <gcosta@redhat.com>
Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 c28b95d9
......@@ -48,7 +48,7 @@
flag; \
})
#define access_ok(type, addr, size) (__range_not_ok(addr, size) == 0)
#define access_ok(type, addr, size) (likely(__range_not_ok(addr, size) == 0))
/*
* The exception table consists of pairs of addresses: the first is the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册