~luciano_leao

Recent activity

[PATCH v3] x86/cpu: Include missing header 2 years ago

From Luciano Leão to ~lkcamp/patches

Include the header containing the prototype of a global function,
solving the following warning:

 arch/x86/kernel/cpu/feat_ctl.c:112:6: warning: no previous prototype for
 'init_ia32_feat_ctl'
 [-Wmissing-prototypes]

This warning appeared after commit 5d5103595e9e5 ("x86/cpu: Reinitialize
IA32_FEAT_CTL MSR on BSP during wakeup") had moved function
init_ia32_feat_ctl()'s prototype from arch/x86/kernel/cpu/cpu.h to
arch/x86/include/asm/cpu.h.

Note that, before the commit mentioned above, header "cpu.h"
(arch/x86/kernel/cpu/cpu.h) was added by commit 0e79ad863df43 ("x86/cpu:
[message trimmed]

[PATCH v2] x86/cpu: Include missing header 2 years ago

From Luciano Leão to ~lkcamp/patches

Includes the header containing the prototype of a global function,
solving the following warning:

 arch/x86/kernel/cpu/feat_ctl.c:112:6: warning: no previous prototype for
 'init_ia32_feat_ctl'
 [-Wmissing-prototypes]

This warning appeared after 5d5103595e9e5 had moved function
init_ia32_feat_ctl()'s prototype from arch/x86/kernel/cpu/cpu.h to
arch/x86/include/asm/cpu.h.

Note that header "cpu.h" (arch/x86/kernel/cpu/cpu.h) was added by
0e79ad863df43 (before 5d5103595e9e5) solely to fix init_ia32_feat_ctl()'s
missing prototype. So, header "cpu.h" is no longer necessary.
[message trimmed]

[PATCH] x86/cpu: Include missing header 2 years ago

From Luciano Leão to ~lkcamp/patches

Includes the header containing the prototype of a global function,
solving the following warning:

 arch/x86/kernel/cpu/feat_ctl.c:112:6: warning: no previous prototype for
 'init_ia32_feat_ctl'
 [-Wmissing-prototypes]

Signed-off-by: Luciano Leão <lucianorsleao@gmail.com>
---
 arch/x86/kernel/cpu/feat_ctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/cpu/feat_ctl.c b/arch/x86/kernel/cpu/feat_ctl.c
index 993697e71854..e4d4923b1f62 100644
[message trimmed]