summaryrefslogtreecommitdiffstats
path: root/arch/ppc/configs
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2008-02-10 21:07:59 +0100
committerPaul Mackerras <paulus@samba.org>2008-02-26 12:17:03 +0100
commit4217c7b529af3abea090d875f0ef133ed2d44285 (patch)
tree2e2e455f4084083028c283a2bd614675a4ca8007 /arch/ppc/configs
parent[POWERPC] Remove dead code at KernelAltiVec (diff)
downloadlinux-4217c7b529af3abea090d875f0ef133ed2d44285.tar.xz
linux-4217c7b529af3abea090d875f0ef133ed2d44285.zip
[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>
Diffstat (limited to 'arch/ppc/configs')
0 files changed, 0 insertions, 0 deletions