lguest: beyond ARRAY_SIZE of cpu->arch.gdt
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 19 May 2009 23:45:45 +0000 (01:45 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:57:04 +0000 (22:27 +0930)
commit81b79b01d057f8c5a378c38d2f738775b972934a
tree0e2c295109568916e187a65e6d93a3319bbb51a9
parent2644f17d6c932929fd68cfec95691490947e0fd1
lguest: beyond ARRAY_SIZE of cpu->arch.gdt

Do not go beyond ARRAY_SIZE of cpu->arch.gdt

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/segments.c