X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fproc%2Fkcore.c;h=6f37c391468d168ebcc5d1f366e244163f504f88;hb=fb3dbece264a50ab4373f3af0bbbd9175d3ad4d7;hp=19979a2ce27204d1851c96bc3126fd201a68651f;hpb=dc1544ea5d6dfdf29440295788e639e4b44c605a;p=mv-sheeva.git diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c index 19979a2ce27..6f37c391468 100644 --- a/fs/proc/kcore.c +++ b/fs/proc/kcore.c @@ -558,6 +558,7 @@ static int open_kcore(struct inode *inode, struct file *filp) static const struct file_operations proc_kcore_operations = { .read = read_kcore, .open = open_kcore, + .llseek = generic_file_llseek, }; #ifdef CONFIG_MEMORY_HOTPLUG @@ -587,7 +588,7 @@ static struct kcore_list kcore_text; */ static void __init proc_kcore_text_init(void) { - kclist_add(&kcore_text, _stext, _end - _stext, KCORE_TEXT); + kclist_add(&kcore_text, _text, _end - _text, KCORE_TEXT); } #else static void __init proc_kcore_text_init(void)