x86: Clean up mtrr/mtrr.h
Fix: ERROR: do not use C99 // comments ERROR: "foo * bar" should be "foo *bar" X 2 Suggested-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <20090703164225.GA21447@elte.hu> [ More tidyups ] Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
26dc67eda1
commit
3ec8dbcb09
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* local mtrr defines.
|
* local MTRR defines.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
@@ -14,7 +14,6 @@ extern unsigned int mtrr_usage_table[MTRR_MAX_VAR_RANGES];
|
|||||||
struct mtrr_ops {
|
struct mtrr_ops {
|
||||||
u32 vendor;
|
u32 vendor;
|
||||||
u32 use_intel_if;
|
u32 use_intel_if;
|
||||||
// void (*init)(void);
|
|
||||||
void (*set)(unsigned int reg, unsigned long base,
|
void (*set)(unsigned int reg, unsigned long base,
|
||||||
unsigned long size, mtrr_type type);
|
unsigned long size, mtrr_type type);
|
||||||
void (*set_all)(void);
|
void (*set_all)(void);
|
||||||
|
Reference in New Issue
Block a user