arch/i386/kernel/srat.c cast warning fix

William Lee Irwin III (wli@holomorphy.com)
Thu, 22 May 2003 08:54:11 -0700


diff -prauN mm8-2.5.69-1/arch/i386/kernel/srat.c mm8-2.5.69-2/arch/i386/kernel/srat.c
--- mm8-2.5.69-1/arch/i386/kernel/srat.c 2003-05-04 16:53:07.000000000 -0700
+++ mm8-2.5.69-2/arch/i386/kernel/srat.c 2003-05-22 08:06:42.000000000 -0700
@@ -312,7 +312,8 @@ void __init get_memcfg_from_srat(void)

if (rsdp_address->pointer_type == ACPI_PHYSICAL_POINTER) {
printk("%s: assigning address to rsdp\n", __FUNCTION__);
- rsdp = (struct acpi_table_rsdp *)rsdp_address->pointer.physical;
+ rsdp = (struct acpi_table_rsdp *)
+ (u32)rsdp_address->pointer.physical;
} else {
printk("%s: rsdp_address is not a physical pointer\n", __FUNCTION__);
return;
-
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/