diff options
| author | 2022-05-23 19:32:59 -0700 | |
|---|---|---|
| committer | 2022-05-23 19:32:59 -0700 | |
| commit | abc8babefbc1fc6f013573bc933d66bc906cf726 (patch) | |
| tree | 4fd7629e6b50cee1c9de09c85f4b4a82efef2165 /arch/x86/kernel/cpu/intel.c | |
| parent | Merge tag 'x86_splitlock_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff) | |
| parent | x86/mm: Cleanup the control_va_addr_alignment() __setup handler (diff) | |
| download | linux-dev-abc8babefbc1fc6f013573bc933d66bc906cf726.tar.xz linux-dev-abc8babefbc1fc6f013573bc933d66bc906cf726.zip | |
Merge tag 'x86_misc_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull misc x86 updates from Borislav Petkov:
"A variety of fixes which don't fit any other tip bucket:
- Remove unnecessary function export
- Correct asm constraint
- Fix __setup handlers retval"
* tag 'x86_misc_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/mm: Cleanup the control_va_addr_alignment() __setup handler
x86: Fix return value of __setup handlers
x86/delay: Fix the wrong asm constraint in delay_loop()
x86/amd_nb: Unexport amd_cache_northbridges()
Diffstat (limited to 'arch/x86/kernel/cpu/intel.c')
| -rw-r--r-- | arch/x86/kernel/cpu/intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index e6c37f38c5ea..7860241a67db 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c @@ -94,7 +94,7 @@ static bool ring3mwait_disabled __read_mostly; static int __init ring3mwait_disable(char *__unused) { ring3mwait_disabled = true; - return 0; + return 1; } __setup("ring3mwait=disable", ring3mwait_disable); |
