Skip to contentSkip to conversation

pnpbios eliminate bad section references

PATCH In review maximilian attems 3 participants 3 messages Apr 4, 2005 Pnp support

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 pnpbios eliminate bad section references

one of the last buildcheck errors on i386,
thanks Randy again for double checking.

Fix pnpbios section references:
make dmi_system_id pnpbios_dmi_table __initdata

Error: ./drivers/pnp/pnpbios/core.o .data refers to 00000100 R_386_32 .init.text
Error: ./drivers/pnp/pnpbios/core.o .data refers to 0000012c R_386_32 .init.text

drivers/pnp/pnpbios/core.c renamed from drivers/pnp/pnpbios/core.c.orig +1 -1
@@ -512,7 +512,7 @@
 	return 0;
 }
 
-static struct dmi_system_id pnpbios_dmi_table[] = {
+static struct dmi_system_id pnpbios_dmi_table[] __initdata = {
 	{	/* PnPBIOS GPF on boot */
 		.callback = exploding_pnp_bios,
 		.ident = "Higraded P14H",
#1 lore raw
Quoted 17 lines · maximilian attems

one of the last buildcheck errors on i386,
thanks Randy again for double checking.

Fix pnpbios section references:
make dmi_system_id pnpbios_dmi_table __initdata

Error: ./drivers/pnp/pnpbios/core.o .data refers to 00000100 R_386_32 .init.text
Error: ./drivers/pnp/pnpbios/core.o .data refers to 0000012c R_386_32 .init.text

drivers/pnp/pnpbios/core.c line 518

Quoted 8 lines
drivers/pnp/pnpbios/core.c renamed from drivers/pnp/pnpbios/core.c.orig +1 -1
@@ -512,7 +512,7 @@
 	return 0;
 }
 
-static struct dmi_system_id pnpbios_dmi_table[] = {
+static struct dmi_system_id pnpbios_dmi_table[] __initdata = {
 	{	/* PnPBIOS GPF on boot */
 		.callback = exploding_pnp_bios,
 		.ident = "Higraded P14H",

Looks OK to me, but I'd prefer to leave it up to Adam.....

Signature · 1 line
~Randy
#2 lore raw
Quoted 23 lines · Randy.Dunlap
Quoted 22 lines · maximilian attems

one of the last buildcheck errors on i386,
thanks Randy again for double checking.

Fix pnpbios section references:
make dmi_system_id pnpbios_dmi_table __initdata

Error: ./drivers/pnp/pnpbios/core.o .data refers to 00000100 R_386_32 .init.text
Error: ./drivers/pnp/pnpbios/core.o .data refers to 0000012c R_386_32 .init.text

--- linux-2.6.12-rc1-bk5/drivers/pnp/pnpbios/core.c.orig 2005-04-04
19:11:37.814477672 +0200
+++ linux-2.6.12-rc1-bk5/drivers/pnp/pnpbios/core.c 2005-04-04
19:25:50.074402365 +0200

drivers/pnp/pnpbios/core.c renamed from drivers/pnp/pnpbios/core.c.orig +0 -0
@@ -512,7 +512,7 @@
 	return 0;
 }
 
Quoted 7 lines

drivers/pnp/pnpbios/core.c line 518

Quoted 5 lines
drivers/pnp/pnpbios/core.c renamed from drivers/pnp/pnpbios/core.c.orig +1 -1
-static struct dmi_system_id pnpbios_dmi_table[] = {
+static struct dmi_system_id pnpbios_dmi_table[] __initdata = {
 	{	/* PnPBIOS GPF on boot */
 		.callback = exploding_pnp_bios,
 		.ident = "Higraded P14H",

Looks OK to me, but I'd prefer to leave it up to Adam.....

Thank you for forwarding this to me. It looks good.

Cheers,
Adam