Glauber de Oliveira Costa wrote: > Indeed, as the EBDA_ADDR_POINTER is not aligned, this may work even > better. > > It seems to me safe to assume that if we read zero on that line: > > ebda_addr = *(unsigned short *)__va(EBDA_ADDR_POINTER); > > We could just do ebda_size = 0 and go home happy, skipping the rest of > the process. Sure, but it should use probe_kernel_addr as well, just so that it will be robust against having that page unmapped too. J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Introducing paravirt_ops for x86_64
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 22/25] [PATCH] turn priviled operation into a macro
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Glauber de Oliveira Costa <[email protected]>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Andi Kleen <[email protected]>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Alan Cox <[email protected]>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: "Glauber de Oliveira Costa" <[email protected]>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Glauber de Oliveira Costa <[email protected]>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Glauber de Oliveira Costa <[email protected]>
- Introducing paravirt_ops for x86_64
- Prev by Date: Re: 2.6.23-rc2-mm1: rcutorture xtime usage
- Next by Date: Re: [PATCH] Add missing newlines to some uses of dev_<level> messages
- Previous by thread: Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- Next by thread: Re: [PATCH 21/25] [PATCH] export cpu_gdt_descr
- Index(es):