kernel: Fix unsafe cross-section reference in init_tick()
This is a small wrapper function which calls other init code and is only called from init code; mark it INIT_ATTR to fix the unsafe reference. Change-Id: I5525461e9fd63955c6396d3151d209c457b3d798
This commit is contained in:
parent
e8ad52be94
commit
b650e774a1
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h" /* for NULL */
|
#include "system.h" /* for NULL */
|
||||||
extern void init_tick(void);
|
extern void init_tick(void) INIT_ATTR;
|
||||||
|
|
||||||
#define HZ 100 /* number of ticks per second */
|
#define HZ 100 /* number of ticks per second */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue