Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752250AbaFZVDl (ORCPT ); Thu, 26 Jun 2014 17:03:41 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:51538 "EHLO mail-la0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596AbaFZVDj (ORCPT ); Thu, 26 Jun 2014 17:03:39 -0400 MIME-Version: 1.0 In-Reply-To: <20140626204303.GE11136@redhat.com> References: <1403814824-7587-1-git-send-email-vgoyal@redhat.com> <1403814824-7587-9-git-send-email-vgoyal@redhat.com> <20140626204303.GE11136@redhat.com> From: Andy Lutomirski Date: Thu, 26 Jun 2014 14:03:17 -0700 Message-ID: Subject: Re: [PATCH 08/15] kexec: New syscall kexec_file_load() declaration To: Vivek Goyal Cc: "linux-kernel@vger.kernel.org" , kexec@lists.infradead.org, Michael Kerrisk-manpages , "Eric W. Biederman" , "H. Peter Anvin" , Matthew Garrett , Greg Kroah-Hartman , Borislav Petkov , dyoung@redhat.com, chaowang@redhat.com, bhe@redhat.com, Andrew Morton , Linux API Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 26, 2014 at 1:43 PM, Vivek Goyal wrote: > On Thu, Jun 26, 2014 at 04:33:37PM -0400, Vivek Goyal wrote: >> This is the new syscall kexec_file_load() declaration/interface. I have >> reserved the syscall number only for x86_64 so far. Other architectures >> (including i386) can reserve syscall number when they enable the support >> for this new syscall. >> >> Signed-off-by: Vivek Goyal >> CC: linux-api@vger.kernel.org > > +.BR KEXEC_FILE_NO_INITRAMFS > +Loading initrd/initramfs is optional. Specify this flag if no initramfs > +is being loaded. If this flag is set, kernel will ignore the value passed > +in This seems pointless. Why not just pass -1 for initrd_fd to indicate that no initrd is needed? --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/