thunk.S 529 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Save registers before calling assembly functions. This avoids
  4. * disturbance of register allocation in some inline assembly constructs.
  5. * Copyright 2001,2002 by Andi Kleen, SuSE Labs.
  6. */
  7. #include <linux/export.h>
  8. #include <linux/linkage.h>
  9. #include "calling.h"
  10. #include <asm/asm.h>
  11. THUNK preempt_schedule_thunk, preempt_schedule
  12. THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace
  13. EXPORT_SYMBOL(preempt_schedule_thunk)
  14. EXPORT_SYMBOL(preempt_schedule_notrace_thunk)