From: Richard Kennedy Date: Thu, 19 May 2011 22:55:25 +0000 (-0600) Subject: module: reorder kparam_array to remove alignment padding on 64 bit builds X-Git-Tag: v3.0-rc1~419^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5be0b2eb1ca05e0cd747f9c0ba552c6ee8827a0;p=pandora-kernel.git module: reorder kparam_array to remove alignment padding on 64 bit builds Reorder structure kparam_array to remove 8 bytes of alignment padding on 64 bit builds, dropping its size from 40 to 32 bytes. Also update the macro module_param_array_named to initialise the structure using its member names to allow it to be changed without touching all its call sites. 'git grep' finds module_param_array in 1037 places so this patch will save a small amount of data space across many modules. Signed-off-by: Richard Kennedy Signed-off-by: Rusty Russell --- Reading git-diff-tree failed