mirror of https://github.com/OpenIPC/firmware.git
13 lines
472 B
Diff
13 lines
472 B
Diff
diff -drupN a/mm/zsmalloc.c b/mm/zsmalloc.c
|
|
--- a/mm/zsmalloc.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/mm/zsmalloc.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -1407,7 +1407,7 @@ void *zs_map_object(struct zs_pool *pool
|
|
* pools/users, we can't allow mapping in interrupt context
|
|
* because it can corrupt another users mappings.
|
|
*/
|
|
- BUG_ON(in_interrupt());
|
|
+ WARN_ON_ONCE(in_interrupt());
|
|
|
|
/* From now on, migration cannot move the object */
|
|
pin_tag(handle);
|