system.h 408 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2011 The Chromium OS Authors.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __ASM_SANDBOX_SYSTEM_H
  7. #define __ASM_SANDBOX_SYSTEM_H
  8. /* Define this as nops for sandbox architecture */
  9. static inline void local_irq_save(unsigned flags __attribute__((unused)))
  10. {
  11. }
  12. #define local_irq_enable()
  13. #define local_irq_disable()
  14. #define local_save_flags(x)
  15. #define local_irq_restore(x)
  16. #endif