瀏覽代碼

[PATCH] __user annotations in powerpc thread_info

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 19 年之前
父節點
當前提交
e795638bb9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/asm-powerpc/thread_info.h

+ 1 - 1
include/asm-powerpc/thread_info.h

@@ -37,7 +37,7 @@ struct thread_info {
 	int		preempt_count;		/* 0 => preemptable,
 						   <0 => BUG */
 	struct restart_block restart_block;
-	void *nvgprs_frame;
+	void __user *nvgprs_frame;
 	/* low level flags - has atomic operations done on it */
 	unsigned long	flags ____cacheline_aligned_in_smp;
 };