diff options
author | Stefan Koch <stefan.koch10@gmail.com> | 2017-03-13 23:42:10 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-03-17 08:58:50 +0100 |
commit | 443e67a4597f90184ba0a41b4a38b54990babd4d (patch) | |
tree | 65d8be725d82390c224dd772341ce76baadf0db3 /target/linux/lantiq/base-files/sbin | |
parent | 53b84e4e2bb68a92f9a6e2f49a1f14426d17b494 (diff) | |
download | upstream-443e67a4597f90184ba0a41b4a38b54990babd4d.tar.gz upstream-443e67a4597f90184ba0a41b4a38b54990babd4d.tar.bz2 upstream-443e67a4597f90184ba0a41b4a38b54990babd4d.zip |
lantiq: vr9 fxs support: fixed check of SMP state within vpe-mt.c
SMP state is generally affected by
- CONFIG_SMP build-time kernel configuration option and
- 'nosmp' runtime kernel commandline option
The SMP state within vpe-mt.c is determined by CONFIG_SMP option.
A runtime check is needed if VPE functionality
should be used with a kernel image that supports SMP.
This fix introduces a check for 'nosmp' command line option
if CONFIG_SMP kernel configuration option is enabled.
Note: This patch is needed to use lantiq FXS if CONFIG_MIPS_MT_SMP
(that activates CONFIG_SMP) is enabled within kernel configuration
and the 'nosmp' command line argument is given to disable SMP at runtime.
Without this patch CONFIG_MIPS_MT_SMP must be disabled before using FXS.
With this patch setting the 'nosmp' parameter is enough.
In general, concurrent usage of FXS and SMP
is incompatible and will cause kernel panics.
Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
Diffstat (limited to 'target/linux/lantiq/base-files/sbin')
0 files changed, 0 insertions, 0 deletions