Remove a || 1 that crept into the i8254 commit and was subsequently
copied and pasted. I had actually tested without this change in my trees as had the other testers. Reported by: bde, Rostislav Krasny rosti dot bsd at gmail dot com Approved by: re (scottl) Pointy hat to: jhb
This commit is contained in:
parent
d758711729
commit
623b1a868e
@ -736,7 +736,7 @@ cpu_initclocks()
|
||||
* that it can drive hardclock(). Otherwise, change the 8254
|
||||
* timecounter to user a simpler algorithm.
|
||||
*/
|
||||
if (!using_lapic_timer || 1) {
|
||||
if (!using_lapic_timer) {
|
||||
intr_add_handler("clk", 0, (driver_intr_t *)clkintr, NULL,
|
||||
INTR_TYPE_CLK | INTR_FAST, NULL);
|
||||
i8254_intsrc = intr_lookup_source(0);
|
||||
|
@ -786,7 +786,7 @@ cpu_initclocks()
|
||||
* that it can drive hardclock(). Otherwise, change the 8254
|
||||
* timecounter to user a simpler algorithm.
|
||||
*/
|
||||
if (!using_lapic_timer || 1) {
|
||||
if (!using_lapic_timer) {
|
||||
intr_add_handler("clk", 0, (driver_intr_t *)clkintr, NULL,
|
||||
INTR_TYPE_CLK | INTR_FAST, NULL);
|
||||
i8254_intsrc = intr_lookup_source(0);
|
||||
|
@ -786,7 +786,7 @@ cpu_initclocks()
|
||||
* that it can drive hardclock(). Otherwise, change the 8254
|
||||
* timecounter to user a simpler algorithm.
|
||||
*/
|
||||
if (!using_lapic_timer || 1) {
|
||||
if (!using_lapic_timer) {
|
||||
intr_add_handler("clk", 0, (driver_intr_t *)clkintr, NULL,
|
||||
INTR_TYPE_CLK | INTR_FAST, NULL);
|
||||
i8254_intsrc = intr_lookup_source(0);
|
||||
|
@ -765,7 +765,7 @@ cpu_initclocks()
|
||||
* that it can drive hardclock(). Otherwise, change the 8254
|
||||
* timecounter to user a simpler algorithm.
|
||||
*/
|
||||
if (!using_lapic_timer || 1) {
|
||||
if (!using_lapic_timer) {
|
||||
intr_add_handler("clk", 0, (driver_intr_t *)clkintr, NULL,
|
||||
INTR_TYPE_CLK | INTR_FAST, NULL);
|
||||
i8254_intsrc = intr_lookup_source(0);
|
||||
|
@ -765,7 +765,7 @@ cpu_initclocks()
|
||||
* that it can drive hardclock(). Otherwise, change the 8254
|
||||
* timecounter to user a simpler algorithm.
|
||||
*/
|
||||
if (!using_lapic_timer || 1) {
|
||||
if (!using_lapic_timer) {
|
||||
intr_add_handler("clk", 0, (driver_intr_t *)clkintr, NULL,
|
||||
INTR_TYPE_CLK | INTR_FAST, NULL);
|
||||
i8254_intsrc = intr_lookup_source(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user