2.4-ac: alpha support for O(1) scheduler
PATCH 1/1 2.4-ac: alpha support for O(1) scheduler
Alan,
Attached patch provides Alpha support for the O(1) scheduler in 2.4-ac. This is based off the Alpha O(1) support in 2.4-aa by Andrea Arcangeli.
Patch is against 2.4.19-pre10-ac2, please apply.
Robert Love
arch/alpha/kernel/process.c +1 -3
@@ -30,6 +30,7 @@#include <linux/reboot.h> #include <linux/tty.h> #include <linux/console.h> +#include <linux/sched_runqueue.h> #include <asm/reg.h> #include <asm/uaccess.h>
@@ -74,9 +75,6 @@cpu_idle (void) {/* An endless idle loop with no priority at all. */ - current->nice =20 ; - current->counter =-100 ; -while (1 ) {/* FIXME -- EV6 and LCA45 know how to power down the CPU. */
arch/alpha/kernel/smp.c +15 -35
106 lines not on this page · raw message
include/asm-alpha/bitops.h +99 -1
130 lines not on this page · raw message
include/asm-alpha/smp.h +1 -1
@@ -55,7 +55,7 @@#define cpu_logical_map (cpu) __cpu_logical_map[cpu]#define hard_smp_processor_id () __hard_smp_processor_id() -#define smp_processor_id () (current->processor) +#define smp_processor_id () (current->cpu)extern unsigned long cpu_present_mask;#define cpu_online_map cpu_present_mask