Skip to contentSkip to conversation

pnpbios: eliminate bad section references

PATCH In review [email protected] 1 participant 1 message Apr 12, 2005 Pnp support

lore
Share & tools
lore
#0 lore raw

PATCH 138/198 pnpbios: eliminate bad section references

From: maximilian attems <[email protected]>

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

---

 25-akpm/drivers/pnp/pnpbios/core.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/pnp/pnpbios/core.c renamed from drivers/pnp/pnpbios/core.c~pnpbios-eliminate-bad-section-references +1 -1
diff -puN drivers/pnp/pnpbios/core.c~pnpbios-eliminate-bad-section-references drivers/pnp/pnpbios/core.c
@@ -512,7 +512,7 @@ static int __init exploding_pnp_bios(str
 	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",

_