forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 093a6c67005148ae32a5c9e4553491b9f5c2457b
kernel/arch/ia64/include/asm/irqflags.h
....@@ -36,11 +36,7 @@
3636 static inline unsigned long arch_local_save_flags(void)
3737 {
3838 ia64_stop();
39
-#ifdef CONFIG_PARAVIRT
40
- return ia64_get_psr_i();
41
-#else
4239 return ia64_getreg(_IA64_REG_PSR);
43
-#endif
4440 }
4541
4642 static inline unsigned long arch_local_irq_save(void)