mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-30 23:02:18 +00:00
Mike is like a trained ape, only without the training.
This commit is contained in:
parent
41be05b0f9
commit
3b9ab11f8a
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
static inline unsigned long arch_local_save_flags(void)
|
static inline unsigned long arch_local_save_flags(void)
|
||||||
{
|
{
|
||||||
return RDCTL(CTL_STATUS);
|
return RDCTL(CTL_FSTATUS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -18,7 +18,7 @@ static inline unsigned long arch_local_save_flags(void)
|
|||||||
*/
|
*/
|
||||||
static inline void arch_local_irq_restore(unsigned long flags)
|
static inline void arch_local_irq_restore(unsigned long flags)
|
||||||
{
|
{
|
||||||
WRCTL(CTL_STATUS, flags);
|
WRCTL(CTL_FSTATUS, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void arch_local_irq_disable(void)
|
static inline void arch_local_irq_disable(void)
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* control register numbers */
|
/* control register numbers */
|
||||||
#define CTL_STATUS 0
|
#define CTL_FSTATUS 0
|
||||||
#define CTL_ESTATUS 1
|
#define CTL_ESTATUS 1
|
||||||
#define CTL_BSTATUS 2
|
#define CTL_BSTATUS 2
|
||||||
#define CTL_IENABLE 3
|
#define CTL_IENABLE 3
|
||||||
|
@ -37,6 +37,7 @@ config NIOS2_DTB_PHYS_ADDR
|
|||||||
|
|
||||||
config NIOS2_DTB_SOURCE_BOOL
|
config NIOS2_DTB_SOURCE_BOOL
|
||||||
bool "Compile and link device tree into kernel image"
|
bool "Compile and link device tree into kernel image"
|
||||||
|
depends on !COMPILE_TEST
|
||||||
help
|
help
|
||||||
This allows you to specify a dts (device tree source) file
|
This allows you to specify a dts (device tree source) file
|
||||||
which will be compiled and linked into the kernel image.
|
which will be compiled and linked into the kernel image.
|
||||||
|
Loading…
Reference in New Issue
Block a user