]> git.hungrycats.org Git - linux/commitdiff
zygo: GPL symbol scroll of mole genocide
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Thu, 24 Dec 2020 05:40:45 +0000 (00:40 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Tue, 29 Dec 2020 02:58:29 +0000 (21:58 -0500)
(cherry picked from commit 8c90080d842536315f0b38e59bbd2606a80dc5fc)

kernel/locking/lockdep.c
kernel/locking/mutex-debug.c

index 514704b68bef055e9c0f585bf26f3fff7b9b4e78..3d12b46e74bea4449fdaac886d9b616869a1c713 100644 (file)
@@ -1176,7 +1176,7 @@ out_unlock:
 restore_irqs:
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lockdep_register_key);
+EXPORT_SYMBOL(lockdep_register_key);
 
 /* Check whether a key has been registered as a dynamic key. */
 static bool is_dynamic_key(const struct lock_class_key *key)
@@ -3723,7 +3723,7 @@ void lockdep_hardirqs_on_prepare(unsigned long ip)
        __trace_hardirqs_on_caller();
        lockdep_recursion_finish();
 }
-EXPORT_SYMBOL_GPL(lockdep_hardirqs_on_prepare);
+EXPORT_SYMBOL(lockdep_hardirqs_on_prepare);
 
 void noinstr lockdep_hardirqs_on(unsigned long ip)
 {
@@ -3787,7 +3787,7 @@ skip_checks:
        trace->hardirq_enable_event = ++trace->irq_events;
        debug_atomic_inc(hardirqs_on_events);
 }
-EXPORT_SYMBOL_GPL(lockdep_hardirqs_on);
+EXPORT_SYMBOL(lockdep_hardirqs_on);
 
 /*
  * Hardirqs were disabled:
@@ -3829,7 +3829,7 @@ void noinstr lockdep_hardirqs_off(unsigned long ip)
                debug_atomic_inc(redundant_hardirqs_off);
        }
 }
-EXPORT_SYMBOL_GPL(lockdep_hardirqs_off);
+EXPORT_SYMBOL(lockdep_hardirqs_off);
 
 /*
  * Softirqs will be enabled:
@@ -4270,7 +4270,7 @@ void lockdep_init_map_waits(struct lockdep_map *lock, const char *name,
 EXPORT_SYMBOL(lockdep_init_map_waits);
 
 struct lock_class_key __lockdep_no_validate__;
-EXPORT_SYMBOL_GPL(__lockdep_no_validate__);
+EXPORT_SYMBOL(__lockdep_no_validate__);
 
 static void
 print_lock_nested_lock_not_held(struct task_struct *curr,
@@ -4955,7 +4955,7 @@ void lock_set_class(struct lockdep_map *lock, const char *name,
        lockdep_recursion_finish();
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lock_set_class);
+EXPORT_SYMBOL(lock_set_class);
 
 void lock_downgrade(struct lockdep_map *lock, unsigned long ip)
 {
@@ -4972,7 +4972,7 @@ void lock_downgrade(struct lockdep_map *lock, unsigned long ip)
        lockdep_recursion_finish();
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lock_downgrade);
+EXPORT_SYMBOL(lock_downgrade);
 
 /* NMI context !!! */
 static void verify_lock_unused(struct lockdep_map *lock, struct held_lock *hlock, int subclass)
@@ -5056,7 +5056,7 @@ void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
        lockdep_recursion_finish();
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lock_acquire);
+EXPORT_SYMBOL(lock_acquire);
 
 void lock_release(struct lockdep_map *lock, unsigned long ip)
 {
@@ -5076,7 +5076,7 @@ void lock_release(struct lockdep_map *lock, unsigned long ip)
        lockdep_recursion_finish();
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lock_release);
+EXPORT_SYMBOL(lock_release);
 
 noinstr int lock_is_held_type(const struct lockdep_map *lock, int read)
 {
@@ -5096,7 +5096,7 @@ noinstr int lock_is_held_type(const struct lockdep_map *lock, int read)
 
        return ret;
 }
-EXPORT_SYMBOL_GPL(lock_is_held_type);
+EXPORT_SYMBOL(lock_is_held_type);
 NOKPROBE_SYMBOL(lock_is_held_type);
 
 struct pin_cookie lock_pin_lock(struct lockdep_map *lock)
@@ -5117,7 +5117,7 @@ struct pin_cookie lock_pin_lock(struct lockdep_map *lock)
 
        return cookie;
 }
-EXPORT_SYMBOL_GPL(lock_pin_lock);
+EXPORT_SYMBOL(lock_pin_lock);
 
 void lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie)
 {
@@ -5134,7 +5134,7 @@ void lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie)
        lockdep_recursion_finish();
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lock_repin_lock);
+EXPORT_SYMBOL(lock_repin_lock);
 
 void lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie)
 {
@@ -5151,7 +5151,7 @@ void lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie)
        lockdep_recursion_finish();
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lock_unpin_lock);
+EXPORT_SYMBOL(lock_unpin_lock);
 
 #ifdef CONFIG_LOCK_STAT
 static void print_lock_contention_bug(struct task_struct *curr,
@@ -5286,7 +5286,7 @@ void lock_contended(struct lockdep_map *lock, unsigned long ip)
        lockdep_recursion_finish();
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lock_contended);
+EXPORT_SYMBOL(lock_contended);
 
 void lock_acquired(struct lockdep_map *lock, unsigned long ip)
 {
@@ -5304,7 +5304,7 @@ void lock_acquired(struct lockdep_map *lock, unsigned long ip)
        lockdep_recursion_finish();
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(lock_acquired);
+EXPORT_SYMBOL(lock_acquired);
 #endif
 
 /*
@@ -5737,7 +5737,7 @@ out_irq:
        /* Wait until is_dynamic_key() has finished accessing k->hash_entry. */
        synchronize_rcu();
 }
-EXPORT_SYMBOL_GPL(lockdep_unregister_key);
+EXPORT_SYMBOL(lockdep_unregister_key);
 
 void __init lockdep_init(void)
 {
@@ -5836,7 +5836,7 @@ void debug_check_no_locks_freed(const void *mem_from, unsigned long mem_len)
        }
        raw_local_irq_restore(flags);
 }
-EXPORT_SYMBOL_GPL(debug_check_no_locks_freed);
+EXPORT_SYMBOL(debug_check_no_locks_freed);
 
 static void print_held_locks_bug(void)
 {
@@ -5861,7 +5861,7 @@ void debug_check_no_locks_held(void)
        if (unlikely(current->lockdep_depth > 0))
                print_held_locks_bug();
 }
-EXPORT_SYMBOL_GPL(debug_check_no_locks_held);
+EXPORT_SYMBOL(debug_check_no_locks_held);
 
 #ifdef __KERNEL__
 void debug_show_all_locks(void)
@@ -5887,7 +5887,7 @@ void debug_show_all_locks(void)
        pr_warn("\n");
        pr_warn("=============================================\n\n");
 }
-EXPORT_SYMBOL_GPL(debug_show_all_locks);
+EXPORT_SYMBOL(debug_show_all_locks);
 #endif
 
 /*
@@ -5902,7 +5902,7 @@ void debug_show_held_locks(struct task_struct *task)
        }
        lockdep_print_held_locks(task);
 }
-EXPORT_SYMBOL_GPL(debug_show_held_locks);
+EXPORT_SYMBOL(debug_show_held_locks);
 
 asmlinkage __visible void lockdep_sys_exit(void)
 {
@@ -5971,4 +5971,4 @@ void lockdep_rcu_suspicious(const char *file, const int line, const char *s)
        pr_warn("\nstack backtrace:\n");
        dump_stack();
 }
-EXPORT_SYMBOL_GPL(lockdep_rcu_suspicious);
+EXPORT_SYMBOL(lockdep_rcu_suspicious);
index a7276aaf2abc0b75ee5cf15738b5a2d7e0e46f5c..2b4677ab0c28f037eb0074b1e3d7b7c77bda357f 100644 (file)
@@ -104,4 +104,4 @@ void mutex_destroy(struct mutex *lock)
        lock->magic = NULL;
 }
 
-EXPORT_SYMBOL_GPL(mutex_destroy);
+EXPORT_SYMBOL(mutex_destroy);