From: Zygo Blaxell Date: Thu, 24 Dec 2020 05:55:45 +0000 (-0500) Subject: zygo: GPL nuke from orbit: mutex_lock_interruptible_nested X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac3bb1fa1d824b4b4a9ee9a8c7846c81aece882c;p=linux zygo: GPL nuke from orbit: mutex_lock_interruptible_nested --- diff --git a/kernel/locking/mutex.c b/kernel/locking/mutex.c index a8bb61faac42..9f010b4e2e34 100644 --- a/kernel/locking/mutex.c +++ b/kernel/locking/mutex.c @@ -1125,21 +1125,21 @@ _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest) { __mutex_lock(lock, TASK_UNINTERRUPTIBLE, 0, nest, _RET_IP_); } -EXPORT_SYMBOL_GPL(_mutex_lock_nest_lock); +EXPORT_SYMBOL(_mutex_lock_nest_lock); int __sched mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) { return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); } -EXPORT_SYMBOL_GPL(mutex_lock_killable_nested); +EXPORT_SYMBOL(mutex_lock_killable_nested); int __sched mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass) { return __mutex_lock(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); } -EXPORT_SYMBOL_GPL(mutex_lock_interruptible_nested); +EXPORT_SYMBOL(mutex_lock_interruptible_nested); void __sched mutex_lock_io_nested(struct mutex *lock, unsigned int subclass) @@ -1153,7 +1153,7 @@ mutex_lock_io_nested(struct mutex *lock, unsigned int subclass) subclass, NULL, _RET_IP_, NULL, 0); io_schedule_finish(token); } -EXPORT_SYMBOL_GPL(mutex_lock_io_nested); +EXPORT_SYMBOL(mutex_lock_io_nested); static inline int ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) @@ -1195,7 +1195,7 @@ ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) return ret; } -EXPORT_SYMBOL_GPL(ww_mutex_lock); +EXPORT_SYMBOL(ww_mutex_lock); int __sched ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) @@ -1212,7 +1212,7 @@ ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) return ret; } -EXPORT_SYMBOL_GPL(ww_mutex_lock_interruptible); +EXPORT_SYMBOL(ww_mutex_lock_interruptible); #endif @@ -1356,7 +1356,7 @@ void __sched mutex_lock_io(struct mutex *lock) mutex_lock(lock); io_schedule_finish(token); } -EXPORT_SYMBOL_GPL(mutex_lock_io); +EXPORT_SYMBOL(mutex_lock_io); static noinline void __sched __mutex_lock_slowpath(struct mutex *lock)