kernel/int: Remove now-unneded ifdef __riscv.
Following the rework to permit arch_int_assign_cpu to change what CPU an interrupt is assigned to, this ifdef is no longer needed.
This commit is contained in:
@@ -411,11 +411,6 @@ restore_interrupts(cpu_status status)
|
|||||||
static
|
static
|
||||||
uint32 assign_cpu(void)
|
uint32 assign_cpu(void)
|
||||||
{
|
{
|
||||||
// arch_int_assign_to_cpu is not yet implemented for riscv
|
|
||||||
#ifdef __riscv
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const cpu_topology_node* node;
|
const cpu_topology_node* node;
|
||||||
do {
|
do {
|
||||||
int32 nextID = atomic_add(&sLastCPU, 1);
|
int32 nextID = atomic_add(&sLastCPU, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user