瀏覽代碼

powerpc: Pack arch_hw_breakpoint to avoid holes in struct

No functional change

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Michael Neuling 13 年之前
父節點
當前提交
ab046a9376
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      arch/powerpc/include/asm/hw_breakpoint.h

+ 3 - 3
arch/powerpc/include/asm/hw_breakpoint.h

@@ -27,10 +27,10 @@
 #ifdef CONFIG_HAVE_HW_BREAKPOINT
 
 struct arch_hw_breakpoint {
-	bool		extraneous_interrupt;
-	u8		len; /* length of the target data symbol */
-	int		type;
 	unsigned long	address;
+	int		type;
+	u8		len; /* length of the target data symbol */
+	bool		extraneous_interrupt;
 };
 
 #include <linux/kdebug.h>