diff options
| author | Dou Liyang <[email protected]> | 2017-12-04 04:03:12 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2017-12-28 11:32:06 +0000 |
| commit | 4fcab6693445cfb84f2b65868c58043535090e52 (patch) | |
| tree | 4e1cc9ffdd07d206ce6345d9111bfbe2cc1c5a59 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | x86-32: Fix kexec with stack canary (CONFIG_CC_STACKPROTECTOR) (diff) | |
| download | kernel-4fcab6693445cfb84f2b65868c58043535090e52.tar.gz kernel-4fcab6693445cfb84f2b65868c58043535090e52.zip | |
x86/apic: Avoid wrong warning when parsing 'apic=' in X86-32 case
There are two consumers of apic=:
apic_set_verbosity() for setting the APIC debug level;
parse_apic() for registering APIC driver by hand.
X86-32 supports both of them, but sometimes, kernel issues a weird warning.
eg: when kernel was booted up with 'apic=bigsmp' in command line,
early_param would warn like that:
...
[ 0.000000] APIC Verbosity level bigsmp not recognised use apic=verbose or apic=debug
[ 0.000000] Malformed early option 'apic'
...
Wrap the warning code in CONFIG_X86_64 case to avoid this.
Signed-off-by: Dou Liyang <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
