mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arch/i386/kernel/srat.c cast warning fix
@ 2003-05-22 15:54 William Lee Irwin III
  0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2003-05-22 15:54 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-22 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22 15:54 arch/i386/kernel/srat.c cast warning fix William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®