소스 검색

[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;
 };