summaryrefslogtreecommitdiff
path: root/tools/bootconfig/include
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2021-09-17 13:03:08 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-10-11 03:44:05 +0300
commit4f292c4886bfdfc2a7191ef4ff3f7aac69d1cc3f (patch)
treee921dc9e8d824b27ef3f9611fdc2e5860f8cbb10 /tools/bootconfig/include
parent160321b2602ff8e42ea77a09f2e3f1b35e3acfaf (diff)
downloadlinux-4f292c4886bfdfc2a7191ef4ff3f7aac69d1cc3f.tar.xz
bootconfig: Replace u16 and u32 with uint16_t and uint32_t
Replace u16 and u32 with uint16_t and uint32_t so that the tools/bootconfig only needs <stdint.h>. Link: https://lkml.kernel.org/r/163187298835.2366983.9838262576854319669.stgit@devnote2 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/bootconfig/include')
-rw-r--r--tools/bootconfig/include/linux/kernel.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/bootconfig/include/linux/kernel.h b/tools/bootconfig/include/linux/kernel.h
index c4854b8e7023..39f306c18dd0 100644
--- a/tools/bootconfig/include/linux/kernel.h
+++ b/tools/bootconfig/include/linux/kernel.h
@@ -3,11 +3,9 @@
#define _SKC_LINUX_KERNEL_H
#include <stdlib.h>
+#include <stdint.h>
#include <stdbool.h>
-typedef unsigned short u16;
-typedef unsigned int u32;
-
#define unlikely(cond) (cond)
#define __init