public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a22dd9
)
start: avoid generating GSINIT code for the kernel
author
Alan Cox
<alan@linux.intel.com>
Tue, 2 Oct 2018 12:06:35 +0000
(13:06 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 2 Oct 2018 12:06:35 +0000
(13:06 +0100)
Kernel/start.c
patch
|
blob
|
history
diff --git
a/Kernel/start.c
b/Kernel/start.c
index
1f4d8bc
..
f54ee75
100644
(file)
--- a/
Kernel/start.c
+++ b/
Kernel/start.c
@@
-301,10
+301,10
@@
uint16_t get_root_dev(void)
}
#else
+static uint8_t first = 1;
+
inline uint16_t get_root_dev(void)
{
- static uint8_t first = 1;
-
if (first) {
first = 0;
return BOOTDEVICE;