runtime-const.h 414 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_RUNTIME_CONST_H
  3. #define _ASM_RUNTIME_CONST_H
  4. /*
  5. * This is the fallback for when the architecture doesn't
  6. * support the runtime const operations.
  7. *
  8. * We just use the actual symbols as-is.
  9. */
  10. #define runtime_const_ptr(sym) (sym)
  11. #define runtime_const_shift_right_32(val, sym) ((u32)(val)>>(sym))
  12. #define runtime_const_init(type,sym) do { } while (0)
  13. #endif