diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-22 11:10:04 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-22 11:10:04 +0000 |
commit | df29e279e265fbb2195124e31d0003064ecdc126 (patch) | |
tree | 87b5f51ef17d9e2bb1e7f76134a4f30c07097a49 /xen/include/asm-x86/microcode.h | |
parent | ea75815bab094d7472019766ec3ed7b3445170b5 (diff) | |
download | xen-df29e279e265fbb2195124e31d0003064ecdc126.tar.gz xen-df29e279e265fbb2195124e31d0003064ecdc126.tar.bz2 xen-df29e279e265fbb2195124e31d0003064ecdc126.zip |
x86 ucode: cancel redundant input parameter of microcode functions
Cancel redundant input parameter 'uci', since it can get from another
input parameter 'cpu' as index.
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Diffstat (limited to 'xen/include/asm-x86/microcode.h')
-rw-r--r-- | xen/include/asm-x86/microcode.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xen/include/asm-x86/microcode.h b/xen/include/asm-x86/microcode.h index 27bb5d5f16..57582cfa91 100644 --- a/xen/include/asm-x86/microcode.h +++ b/xen/include/asm-x86/microcode.h @@ -5,10 +5,9 @@ struct cpu_signature; struct ucode_cpu_info; struct microcode_ops { - int (*cpu_request_microcode)(struct ucode_cpu_info *uci, - int cpu, const void *buf, size_t size); + int (*cpu_request_microcode)(int cpu, const void *buf, size_t size); int (*collect_cpu_info)(int cpu, struct cpu_signature *csig); - int (*apply_microcode)(struct ucode_cpu_info *uci, int cpu); + int (*apply_microcode)(int cpu); }; struct microcode_header_intel { |