[Devel] Re: [RFC v14][PATCH 09/54] Restore memory address space

Dave Hansen dave at linux.vnet.ibm.com
Fri May 1 08:28:38 PDT 2009


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

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list