Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / mips / include / asm / setup.h
blobd49d247d48a114a3f2a301a7796d848b677f0c07
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _MIPS_SETUP_H
3 #define _MIPS_SETUP_H
5 #include <uapi/asm/setup.h>
7 extern void setup_early_printk(void);
9 #ifdef CONFIG_EARLY_PRINTK_8250
10 extern void setup_8250_early_printk_port(unsigned long base,
11 unsigned int reg_shift, unsigned int timeout);
12 #else
13 static inline void setup_8250_early_printk_port(unsigned long base,
14 unsigned int reg_shift, unsigned int timeout) {}
15 #endif
17 extern void set_handler(unsigned long offset, void *addr, unsigned long len);
18 extern void set_uncached_handler(unsigned long offset, void *addr, unsigned long len);
20 typedef void (*vi_handler_t)(void);
21 extern void *set_vi_handler(int n, vi_handler_t addr);
23 extern void *set_except_vector(int n, void *addr);
24 extern unsigned long ebase;
25 extern unsigned int hwrena;
26 extern void per_cpu_trap_init(bool);
27 extern void cpu_cache_init(void);
29 #endif /* __SETUP_H */