Displaying 1 result from an estimated 1 matches for "new_encode_dev".
Did you mean:
new_decode_dev
2006 Jun 26
0
[klibc 06/43] Re-create ROOT_DEV, too many architectures need it.
..._t ROOT_DEV;
+unsigned int real_root_dev;
+
/*
* Setup routine for controlling SMP activation
*
@@ -682,6 +688,12 @@ static int init(void * unused)
do_basic_setup();
/*
+ * If we have a root device set by architecture-specific means,
+ * let kinit know about it.
+ */
+ real_root_dev = new_encode_dev(ROOT_DEV);
+
+ /*
* check if there is an early userspace init. If yes, let it do all
* the work
*/