Re: [PATCH] PATCH: fix definition of boot_DT

Randy.Dunlap (rddunlap@osdl.org)
Mon, 7 Jul 2003 13:50:09 -0700


On Mon, 07 Jul 2003 19:43:36 +0000 Linux Kernel Mailing List <linux-kernel@vger.kernel.org> wrote:

| ChangeSet 1.1053, 2003/07/07 16:43:36-03:00, alan@lxorguk.ukuu.org.uk
|
| [PATCH] PATCH: fix definition of boot_DT
|
|
| diff -Nru a/include/asm-i386/io_apic.h b/include/asm-i386/io_apic.h
| --- a/include/asm-i386/io_apic.h Mon Jul 7 13:23:22 2003
| +++ b/include/asm-i386/io_apic.h Mon Jul 7 13:23:22 2003
| @@ -45,7 +45,7 @@
| } __attribute__ ((packed));
|
| struct IO_APIC_reg_03 {
| - __u32 boot_DT : 1,
| + __u32 boot_DT : 1,
| __reserved_1 : 31;
| } __attribute__ ((packed));

Now you have made this one line (boot_DT) different from all of
the other lines in that file regarding single-digit-sized bit fields.
It was done like this at Maciej's (macro's) request.

Compare:

struct IO_APIC_reg_02 {
__u32 __reserved_2 : 24,
arbitration : 4,
__reserved_1 : 4;
} __attribute__ ((packed));

--
~Randy
| http://developer.osdl.org/rddunlap/ | http://www.xenotime.net/linux/ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/