Re: [Question] x86,APIC: In apicdef.h dfr,svr,...... shouldn't be const?

From: Cyrill Gorcunov
Date: Tue Sep 01 2009 - 04:43:16 EST

On 9/1/09, Rakib Mullick <rakib.mullick@xxxxxxxxx> wrote:
> Hello guys, Intel System programmers guide says - dfr, svr, esr - this
> registers should be readonly. So shouldn't they use const? Or is it
> anything else?

Hi Rakib, i dont have sources under my hands at moment, but iirc there
were situations we nees to poke esr register.

> And apicdef.h also contains a style problem, checkpatch warns about
> following style:
> u32 spurious_vector : 8
> Check patch wants as:
> u32 spurious_vector:8
> Shouldn't this issues be fixed?
> Thanks,
> --

i dont see reason why not ;)
though i wonder why we need this structure at all. We may have
extended amd entries.
Yinghai cced.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at