From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [RFC v14][PATCH 09/54] Restore memory address space Date: Fri, 01 May 2009 08:28:38 -0700 Message-ID: <1241191718.29485.180.camel@nimitz> References: <1240961064-13991-1-git-send-email-orenl@cs.columbia.edu> <1240961064-13991-10-git-send-email-orenl@cs.columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1240961064-13991-10-git-send-email-orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Alexey Dobriyan List-Id: containers.vger.kernel.org On Tue, 2009-04-28 at 19:23 -0400, Oren Laadan wrote: > diff --git a/arch/x86/include/asm/checkpoint_hdr.h b/arch/x86/include/asm/checkpoint_hdr.h > index bad7b29..d61653c 100644 > --- a/arch/x86/include/asm/checkpoint_hdr.h > +++ b/arch/x86/include/asm/checkpoint_hdr.h > @@ -104,4 +104,9 @@ struct ckpt_hdr_mm_context { > __u32 nldt; > } __attribute__((aligned(8))); > > +#ifdef __KERNEL__ > +/* misc prototypes from kernel (not defined elsewhere) */ > +asmlinkage int sys_modify_ldt(int func, void __user *ptr, unsigned long bytecount); > +#endif This really needs to go somewhere more appropriate. What about asm/ldt.h? -- Dave