Messages in this thread Patch in this message |  | | | Date | Sun, 11 Aug 2002 01:18:27 -0400 | | From | Nathaniel <> | | Subject | Re: Linux 2.5.31 |
| |
> Linus Torvalds <torvalds@home.transmeta.com>: > o Fix up problem with Alan's pnpbios fixes for per-cpu GDT'
gcc -Wp,-MD,./.pnpbios_core.o.d -D__KERNEL__ -I/home/nwf/src/kernel/linux-2.5.31/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=pnpbios_core -DEXPORT_SYMTAB -c -o pnpbios_core.o pnpbios_core.c pnpbios_core.c: In function `call_pnp_bios': pnpbios_core.c:166: invalid lvalue in unary `&' pnpbios_core.c:166: invalid lvalue in unary `&' pnpbios_core.c:168: invalid lvalue in unary `&' pnpbios_core.c:168: invalid lvalue in unary `&' pnpbios_core.c: In function `pnpbios_init': pnpbios_core.c:1275: invalid lvalue in unary `&' pnpbios_core.c:1275: invalid lvalue in unary `&' pnpbios_core.c:1276: invalid lvalue in unary `&' pnpbios_core.c:1276: invalid lvalue in unary `&' pnpbios_core.c:1277: invalid lvalue in unary `&' pnpbios_core.c:1277: invalid lvalue in unary `&'
This patch allows it to compile (have not yet tested booting):
--- drivers/pnp/pnpbios_core.c.orig-nwf Sun Aug 11 01:11:40 2002 +++ drivers/pnp/pnpbios_core.c Sun Aug 11 01:11:54 2002 @@ -126,11 +126,11 @@
#define Q_SET_SEL(cpu, selname, address, size) \ set_base(cpu_gdt_table[cpu][(selname) >> 3], __va((u32)(address))); \ -set_limit(&cpu_gdt_table[cpu][(selname) >> 3], size) +set_limit(cpu_gdt_table[cpu][(selname) >> 3], size)
#define Q2_SET_SEL(cpu, selname, address, size) \ set_base(cpu_gdt_table[cpu][(selname) >> 3], (u32)(address)); \ -set_limit(&cpu_gdt_table[cpu][(selname) >> 3], size) +set_limit(cpu_gdt_table[cpu][(selname) >> 3], size)
/* * At some point we want to use this stack frame pointer to unwind --Nathan
- 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/
|  |