forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
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)