Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2638885 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Dmitry Shmidt
Browse files

uid_sys_stats: make hash_table static



Having a global variabled called "hash_table" is not a good idea, it
should be static, so mark it as such.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent cc8b90c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
#include <linux/uaccess.h>

#define UID_HASH_BITS	10
DECLARE_HASHTABLE(hash_table, UID_HASH_BITS);
static DECLARE_HASHTABLE(hash_table, UID_HASH_BITS);

static DEFINE_RT_MUTEX(uid_lock);
static struct proc_dir_entry *cpu_parent;