diff options
author | Stefan Koch <stefan.koch10@gmail.com> | 2017-02-28 19:09:00 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-03-13 14:20:47 +0100 |
commit | d4203dfa550e73250b11bc6aceebcff36392fb91 (patch) | |
tree | 77ca2df543da327ce4cf3dcb95686a6bdc0339d1 /package/kernel/linux/modules/other.mk | |
parent | 5267ff2b6af3915ba9c9da87b97207b091faee1c (diff) | |
download | mtk-20170518-d4203dfa550e73250b11bc6aceebcff36392fb91.zip mtk-20170518-d4203dfa550e73250b11bc6aceebcff36392fb91.tar.gz mtk-20170518-d4203dfa550e73250b11bc6aceebcff36392fb91.tar.bz2 |
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 'package/kernel/linux/modules/other.mk')
0 files changed, 0 insertions, 0 deletions