x86: fix warning in arch/x86/kernel/microcode_amd.c
authorIngo Molnar <mingo@elte.hu>
Fri, 19 Dec 2008 00:36:14 +0000 (01:36 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Dec 2008 00:31:54 +0000 (01:31 +0100)
commitf34a10bd9f8cc95ebdc69a079db195636b2e22e0
tree562479c177631a17a4a2200d13a21f72fed4317b
parentdf23cab563912ba43f7e9bc8ac517e5a2ddc9cd2
x86: fix warning in arch/x86/kernel/microcode_amd.c

this warning:

  arch/x86/kernel/microcode_amd.c: In function ‘apply_microcode_amd’:
  arch/x86/kernel/microcode_amd.c:163: warning: cast from pointer to integer of different size
  arch/x86/kernel/microcode_amd.c:163: warning: cast from pointer to integer of different size

triggers because we want to pass the address to the microcode MSR,
which is 64-bit even on 32-bit. Cast it explicitly to express this.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_amd.c