linux_dsm_epyc7002/arch/ppc
Julia Lawall 4217c7b529 [POWERPC] Use FIELD_SIZEOF in arch/ppc
Robert P.J. Day proposed to use the macro FIELD_SIZEOF in replace of code
that matches its definition.

The modification was made using the following semantic patch
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@haskernel@
@@

#include <linux/kernel.h>

@depends on haskernel@
type t;
identifier f;
@@

- (sizeof(((t*)0)->f))
+ FIELD_SIZEOF(t, f)

@depends on haskernel@
type t;
identifier f;
@@

- sizeof(((t*)0)->f)
+ FIELD_SIZEOF(t, f)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-02-26 22:17:03 +11:00
..
4xx_io [POWERPC] Spelling fixes: arch/ppc/ 2007-05-12 11:32:49 +10:00
8xx_io [POWERPC] Use FIELD_SIZEOF in arch/ppc 2008-02-26 22:17:03 +11:00
8260_io Remove pointless casts from void pointers 2008-02-06 10:41:01 -08:00
boot [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
configs [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
kernel [POWERPC] Remove dead code at KernelAltiVec 2008-02-26 22:17:03 +11:00
lib [POWERPC] User rheap from arch/powerpc/lib 2007-05-09 23:28:17 -05:00
mm CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
platforms [POWERPC] PPC440EP Interrupt Triggering and Level Settings 2008-02-15 21:33:02 -06:00
syslib Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
xmon [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
.gitignore [POWERPC] Only ignore arch/ppc/include, not arch/ppc/boot/include 2007-08-17 11:01:51 +10:00
Kconfig ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
Kconfig.debug
Makefile [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00