|
@@ -112,7 +112,7 @@ int do_get_thread_area(struct task_struct *p, int idx,
|
|
|
|
|
|
|
|
memset(&info, 0, sizeof(struct user_desc));
|
|
memset(&info, 0, sizeof(struct user_desc));
|
|
|
info.entry_number = idx;
|
|
info.entry_number = idx;
|
|
|
- info.base_addr = get_desc_base((void *)desc);
|
|
|
|
|
|
|
+ info.base_addr = get_desc_base((struct desc_struct *)desc);
|
|
|
info.limit = GET_LIMIT(desc);
|
|
info.limit = GET_LIMIT(desc);
|
|
|
info.seg_32bit = GET_32BIT(desc);
|
|
info.seg_32bit = GET_32BIT(desc);
|
|
|
info.contents = GET_CONTENTS(desc);
|
|
info.contents = GET_CONTENTS(desc);
|