mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
add workaround because static fields aren't able to be in section .kmsg
=> compiler bug in gcc 5.1?
This commit is contained in:
parent
bfd302c655
commit
71d2152df8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ static uint32_t early_print = NO_EARLY_PRINT;
|
|||
#endif
|
||||
static spinlock_irqsave_t olock = SPINLOCK_IRQSAVE_INIT;
|
||||
static atomic_int32_t kmsg_counter = ATOMIC_INIT(-1);
|
||||
static unsigned char kmessages[KMSG_SIZE] __attribute__ ((section(".kmsg"))) = {[0 ... KMSG_SIZE-1] = 0x00};
|
||||
/* static */ unsigned char kmessages[KMSG_SIZE] __attribute__ ((section(".kmsg"))) = {[0 ... KMSG_SIZE-1] = 0x00};
|
||||
|
||||
int koutput_init(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue