Re: [PATCH v1 4/6] driver: Google Bootlog
From: Alan Cox
Date: Tue Jan 25 2011 - 04:43:29 EST
> > 2. EBDA isn't an X86 property it's a PC property. asm/bios_ebda
> > provides one helper and perhaps it all belongs in there (along with 'is
> > it a PC' sanity check)
>
> It's not obvious to me how one would make that sort of check (is a PC)
> at runtime. Suggestions?
I suspect the right thing to do is to put a get_ebda_foo() helper set
into arch/x86 which platforms can override. That way non PC platforms can
simply report zero.
One for the x86 maintainers.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/