>  		memcpy(cpu_gdt_table[cpu], cpu_gdt_table[0], GDT_SIZE);
> -		cpu_gdt_descr[cpu].size = GDT_SIZE;
> +		cpu_gdt_descr[cpu].size = GDT_SIZE - 1;
>  		cpu_gdt_descr[cpu].address = (unsigned long)cpu_gdt_table[cpu];
indeed, good eyes!
i'm wondering whether this could have caused any problems - since the
limit was not a proper multiple of 8 minus 1, no selector value could have
caused a descriptor to be loaded from the invalid byte.
	Ingo
-
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/