diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-01-14 15:05:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-30 08:52:20 +0300 |
commit | 25801736ca4818040b184c5547e6f5a14eaf4847 (patch) | |
tree | b684515ab90f7fe2ad7c7614bed202d59e6a6390 /net/llc | |
parent | 06956ca1aab3f12ba71b213f0142d5a233314806 (diff) | |
download | linux-25801736ca4818040b184c5547e6f5a14eaf4847.tar.xz |
x86/alternatives: Fixup alternative_call_2
[ Upstream commit bd6271039ee6f0c9b468148fc2d73e0584af6b4f ]
The following pattern fails to compile while the same pattern
with alternative_call() does:
if (...)
alternative_call_2(...);
else
alternative_call_2(...);
as it expands into
if (...)
{
}; <===
else
{
};
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20180114120504.GA11368@avx2
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions