git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
i386
/
kernel
/
cpu
/
mtrr
/
main-xen.c
diff --git
a/arch/i386/kernel/cpu/mtrr/main-xen.c
b/arch/i386/kernel/cpu/mtrr/main-xen.c
index
4c65427
..
c3502ea
100644
(file)
--- a/
arch/i386/kernel/cpu/mtrr/main-xen.c
+++ b/
arch/i386/kernel/cpu/mtrr/main-xen.c
@@
-11,8
+11,8
@@
static DEFINE_MUTEX(mtrr_mutex);
static DEFINE_MUTEX(mtrr_mutex);
-void generic_get_mtrr(unsigned int reg, unsigned long *base,
-
unsigned int
*size, mtrr_type * type)
+
static
void generic_get_mtrr(unsigned int reg, unsigned long *base,
+
unsigned long
*size, mtrr_type * type)
{
dom0_op_t op;
{
dom0_op_t op;
@@
-34,6
+34,7
@@
struct mtrr_ops *mtrr_if = &generic_mtrr_ops;
unsigned int num_var_ranges;
unsigned int *usage_table;
unsigned int num_var_ranges;
unsigned int *usage_table;
+/* This function returns the number of variable MTRRs */
static void __init set_num_var_ranges(void)
{
dom0_op_t op;
static void __init set_num_var_ranges(void)
{
dom0_op_t op;
@@
-114,8
+115,7
@@
int mtrr_del_page(int reg, unsigned long base, unsigned long size)
{
unsigned i;
mtrr_type ltype;
{
unsigned i;
mtrr_type ltype;
- unsigned long lbase;
- unsigned int lsize;
+ unsigned long lbase, lsize;
int error = -EINVAL;
dom0_op_t op;
int error = -EINVAL;
dom0_op_t op;