diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-03-03 01:38:50 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-03-03 12:58:55 +0100 |
commit | 4d90887496b43b1db9f48ccdc9fe823b5371e323 (patch) | |
tree | 89d9b519a21732e1a16b74a360d14d30a44515fb /package/kernel/lantiq/ltq-adsl/patches/120-platform.patch | |
parent | b5c5f7d203aae4b9531e423f593f80f7c9445ea3 (diff) | |
download | upstream-4d90887496b43b1db9f48ccdc9fe823b5371e323.tar.gz upstream-4d90887496b43b1db9f48ccdc9fe823b5371e323.tar.bz2 upstream-4d90887496b43b1db9f48ccdc9fe823b5371e323.zip |
lantiq: ltq-adsl: Do not leak user space CFLAGS into kernel space
Do not leak the user space CFLAGS into the kernel space any more, this
allows us to activate the MIPS16 build.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/lantiq/ltq-adsl/patches/120-platform.patch')
-rw-r--r-- | package/kernel/lantiq/ltq-adsl/patches/120-platform.patch | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch b/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch index 48c7581e4f..20c1ccf471 100644 --- a/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch +++ b/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch @@ -1,7 +1,5 @@ -Index: drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c -=================================================================== ---- drv_dsl_cpe_api-3.24.4.4.orig/src/common/drv_dsl_cpe_os_linux.c 2012-12-07 21:22:58.020256076 +0100 -+++ drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c 2012-12-07 21:31:13.156268489 +0100 +--- a/src/common/drv_dsl_cpe_os_linux.c ++++ b/src/common/drv_dsl_cpe_os_linux.c @@ -12,6 +12,7 @@ #define DSL_INTERN @@ -10,7 +8,7 @@ Index: drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c #include "drv_dsl_cpe_api.h" #include "drv_dsl_cpe_api_ioctl.h" -@@ -1063,7 +1064,7 @@ +@@ -1063,7 +1064,7 @@ static void DSL_DRV_DebugInit(void) #endif /* Entry point of driver */ @@ -19,7 +17,7 @@ Index: drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c { struct class *dsl_class; DSL_int_t i; -@@ -1117,7 +1118,7 @@ +@@ -1117,7 +1118,7 @@ int __init DSL_ModuleInit(void) return 0; } @@ -28,7 +26,7 @@ Index: drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c { printk("Module will be unloaded"DSL_DRV_CRLF); -@@ -1132,7 +1133,7 @@ +@@ -1132,7 +1133,7 @@ void __exit DSL_ModuleCleanup(void) (DSL_uint8_t**)&g_BndFpgaBase); #endif /* defined(INCLUDE_DSL_CPE_API_VINAX) && defined(INCLUDE_DSL_BONDING)*/ @@ -37,7 +35,7 @@ Index: drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c } #ifndef _lint -@@ -1148,8 +1149,30 @@ +@@ -1148,8 +1149,30 @@ module_param(debug_level, byte, 0); MODULE_PARM_DESC(debug_level, "set to get more (1) or fewer (4) debug outputs"); #endif /* #ifndef DSL_DEBUG_DISABLE*/ |