浏览代码

[PATCH] powerpc: Fix merged ipcbuf.h

Oops, when merging ipcbuf.h, I forgot that 'u64' can't be used in
user-visible headers.  This patch corrects the problem, replacing the
unused fields with an array of four __u32s.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
David Gibson 19 年之前
父节点
当前提交
847aeb6bad
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      include/asm-powerpc/ipcbuf.h

+ 1 - 2
include/asm-powerpc/ipcbuf.h

@@ -27,8 +27,7 @@ struct ipc64_perm
 	__kernel_mode_t	mode;
 	unsigned int	seq;
 	unsigned int	__pad1;
-	u64		__unused1;
-	u64		__unused2;
+	__u32		__unused[4];
 };
 
 #endif /* _ASM_POWERPC_IPCBUF_H */