message: core_local: Collapse core_id
diff: @@ -61,16 +61,13 @@ impl CoreLocal {
  }
  }
  -#[cfg(target_os = "none")]
  -#[inline]
  pub fn core_id() -> CoreId {
  + if cfg!(target_os = "none") {
  CoreLocal::get().core_id
  -}
  -
  -#[cfg(not(target_os = "none"))]
  -pub fn core_id() -> CoreId {
  + } else {
  0
  }
  +}
  #[inline(always)]
  pub fn get_kernel_stack() -> u64 {
  