[PATCH 1/3] initcall: add postconsole_initcall
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue Aug 3 08:53:37 EDT 2010
this will allow us to print information as soon as the console will be enable
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
include/init.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/init.h b/include/init.h
index eb606f3..c5dea07 100644
--- a/include/init.h
+++ b/include/init.h
@@ -11,6 +11,7 @@ typedef int (*initcall_t)(void);
#define core_initcall(fn) __define_initcall("0",fn,0)
#define postcore_initcall(fn) __define_initcall("1",fn,1)
#define console_initcall(fn) __define_initcall("2",fn,2)
+#define postconsole_initcall(fn) __define_initcall("3",fn,3)
#define coredevice_initcall(fn) __define_initcall("4",fn,4)
#define fs_initcall(fn) __define_initcall("5",fn,5)
#define device_initcall(fn) __define_initcall("6",fn,6)
--
1.7.1
More information about the barebox
mailing list