소스 검색

aarch64: fix namespace pollution in bits/shm.h

The shm_info struct is a gnu extension and some of its members do
not have shm* prefix. This is worked around in sys/shm.h by macros,
but aarch64 didn't use those.
Szabolcs Nagy 10 년 전
부모
커밋
b24d813d24
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      arch/aarch64/bits/shm.h

+ 2 - 2
arch/aarch64/bits/shm.h

@@ -19,7 +19,7 @@ struct shminfo {
 };
 
 struct shm_info {
-	int used_ids;
+	int __used_ids;
 	unsigned long shm_tot, shm_rss, shm_swp;
-	unsigned long swap_attempts, swap_successes;
+	unsigned long __swap_attempts, __swap_successes;
 };