From: Benjamin Li Date: Sat, 17 May 2008 05:20:27 +0000 (-0700) Subject: bnx2: Pre-initialize struct cpu_reg. X-Git-Tag: v2.6.27-rc1~969^2~436 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10343cca2bad3f9fdad214385bed0a9aadf4ffd4;p=pandora-kernel.git bnx2: Pre-initialize struct cpu_reg. Instead of assigning values for the struct cpu_reg's at runtime, we already know these values at compile time. Therefore, we can use designated initializers, to initialize these structures and not have to incur this assignment cost at run-time. Signed-off-by: Benjamin Li Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed