head.h 416 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2019 SiFive, Inc.
  4. */
  5. #ifndef __ASM_HEAD_H
  6. #define __ASM_HEAD_H
  7. #include <linux/linkage.h>
  8. #include <linux/init.h>
  9. extern atomic_t hart_lottery;
  10. asmlinkage void do_page_fault(struct pt_regs *regs);
  11. asmlinkage void __init setup_vm(uintptr_t dtb_pa);
  12. extern void *__cpu_up_stack_pointer[];
  13. extern void *__cpu_up_task_pointer[];
  14. #endif /* __ASM_HEAD_H */