openwrt/target/linux/lantiq
Stefan Koch d4203dfa55 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>
2017-03-13 14:20:47 +01:00
..
base-files lantiq: use the P2812HNUF* wan port as wan 2017-03-11 13:45:06 +01:00
dts lantiq: xrx200: use vlan for ethernet wan port 2017-03-11 13:45:00 +01:00
falcon build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
files/firmware/lantiq move GPHY FW blobs to non versioned folder 2013-03-14 18:42:21 +00:00
image lantiq: add support for the Alpha ASL56026 2017-03-08 19:06:04 +01:00
patches-4.4 lantiq: vr9 fxs support: fixed check of SMP state within vpe-mt.c 2017-03-13 14:20:47 +01:00
patches-4.9 kernel: update kernel 4.9 to 4.9.14 2017-03-12 15:45:50 +01:00
xrx200 lantiq: add support for kernel 4.9 2017-02-11 23:44:13 +01:00
xway build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
xway_legacy build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
config-4.4 lantiq: add cpu temperatur sensor driver for xrx200 2016-08-03 15:30:13 +02:00
config-4.9 lantiq: add support for kernel 4.9 2017-02-11 23:44:13 +01:00
Makefile lantiq: remove CPU_TYPE:=mips32r2, it gets overwritten anyway 2017-01-24 13:33:45 +01:00
modules.mk fix i2c-lantiq module 2012-12-16 10:03:18 +00:00