OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xen-acpi-processor: Don't display errors when we get -ENOSYS
[android-x86/kernel.git]
/
drivers
/
xen
/
xen-acpi-processor.c
diff --git
a/drivers/xen/xen-acpi-processor.c
b/drivers/xen/xen-acpi-processor.c
index
82358d1
..
59fc190
100644
(file)
--- a/
drivers/xen/xen-acpi-processor.c
+++ b/
drivers/xen/xen-acpi-processor.c
@@
-127,7
+127,7
@@
static int push_cxx_to_hypervisor(struct acpi_processor *_pr)
pr_debug(" C%d: %s %d uS\n",
cx->type, cx->desc, (u32)cx->latency);
}
pr_debug(" C%d: %s %d uS\n",
cx->type, cx->desc, (u32)cx->latency);
}
- } else if (
ret != -EINVAL
)
+ } else if (
(ret != -EINVAL) && (ret != -ENOSYS)
)
/* EINVAL means the ACPI ID is incorrect - meaning the ACPI
* table is referencing a non-existing CPU - which can happen
* with broken ACPI tables. */
/* EINVAL means the ACPI ID is incorrect - meaning the ACPI
* table is referencing a non-existing CPU - which can happen
* with broken ACPI tables. */
@@
-259,7
+259,7
@@
static int push_pxx_to_hypervisor(struct acpi_processor *_pr)
(u32) perf->states[i].power,
(u32) perf->states[i].transition_latency);
}
(u32) perf->states[i].power,
(u32) perf->states[i].transition_latency);
}
- } else if (
ret != -EINVAL
)
+ } else if (
(ret != -EINVAL) && (ret != -ENOSYS)
)
/* EINVAL means the ACPI ID is incorrect - meaning the ACPI
* table is referencing a non-existing CPU - which can happen
* with broken ACPI tables. */
/* EINVAL means the ACPI ID is incorrect - meaning the ACPI
* table is referencing a non-existing CPU - which can happen
* with broken ACPI tables. */