diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-06 22:06:09 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-06 22:06:09 +0300 |
commit | 6f46b120a96212b85cbdcb84a64c854dfd791ede (patch) | |
tree | bda816b4619efc767bdbaf139988868df070bbc1 /arch/x86/include/asm | |
parent | 4e1db5e58af8bc6ab4a651df279add41c48d3fc2 (diff) | |
parent | c7657ac0c3e4d4ab569296911164b7a2b0ff871a (diff) | |
download | linux-6f46b120a96212b85cbdcb84a64c854dfd791ede.tar.xz |
Merge branch 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86, microcode, AMD: Cleanup code a bit
x86, microcode, AMD: Replace vmalloc+memset with vzalloc
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/microcode.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/microcode.h b/arch/x86/include/asm/microcode.h index ef51b501e22a..24215072d0e1 100644 --- a/arch/x86/include/asm/microcode.h +++ b/arch/x86/include/asm/microcode.h @@ -48,6 +48,12 @@ static inline struct microcode_ops * __init init_intel_microcode(void) #ifdef CONFIG_MICROCODE_AMD extern struct microcode_ops * __init init_amd_microcode(void); + +static inline void get_ucode_data(void *to, const u8 *from, size_t n) +{ + memcpy(to, from, n); +} + #else static inline struct microcode_ops * __init init_amd_microcode(void) { |