]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode/AMD: Extend the container struct
authorBorislav Petkov <bp@suse.de>
Fri, 20 Jan 2017 20:29:45 +0000 (21:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 23 Jan 2017 09:02:47 +0000 (10:02 +0100)
commitdeaedc9f65d3397e2fdea744a2e7281a27902f5e
tree4c8ebb864fefc1ffdda6e777bb1c18ad0c97e416
parentc86cb72db3083b5aaf2d597168266427d256a479
x86/microcode/AMD: Extend the container struct

Make it into a container descriptor which is being passed around and
stores important info like the matching container and the patch for the
current CPU. Make it static too.

Later patches will use this and thus get rid of a double container
parsing.

Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170120202955.4091-7-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/microcode/amd.c