summaryrefslogtreecommitdiffstats
path: root/runtime/task_finder_vma.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/task_finder_vma.c')
-rw-r--r--runtime/task_finder_vma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/task_finder_vma.c b/runtime/task_finder_vma.c
index c849f187..76b5c059 100644
--- a/runtime/task_finder_vma.c
+++ b/runtime/task_finder_vma.c
@@ -24,7 +24,7 @@ static struct hlist_head __stp_tf_vma_table[__STP_TF_TABLE_SIZE];
static inline u32
__stp_tf_vma_hash(struct task_struct *tsk, unsigned long addr)
{
-#if (__SIZEOF_LONG__ == 8)
+#ifdef CONFIG_64BIT
return (jhash_3words(tsk->pid, (u32)addr, (u32)(addr >> 32), 0)
& (__STP_TF_TABLE_SIZE - 1));
#else