init: initialize ramdisk_execute_command at compile time
authorChristoph Hellwig <hch@lst.de>
Sun, 7 Jun 2020 07:06:29 +0000 (09:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2020 06:17:51 +0000 (08:17 +0200)
commit916db733deca5dc1e14ea8e3acfc121600a9f462
tree4fab280d165f0784458ea3e1734de76c1aa3a653
parentbcbacc4909f1b93242ba2894d0282c151c9d0e68
init: initialize ramdisk_execute_command at compile time

Set ramdisk_execute_command to "/init" at compile time.  The command
line can still override it, but this saves a few instructions and
removes a NULL check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
init/main.c