. Size expression for apf_page_fault does not evaluate to a constant

Source: Internet
Author: User

Platform: ubuntu10.04

This problem was found during kernel 2.6.38 Compilation:

ARCH/x86/kernel/entry_32.s: assembler messages:

ARCH/x86/kernel/entry_32.s: 1422: Error:. Size expression for apf_page_fault does not evaluate to a constant

Make [2]: *** [ARCH/x86/kernel/entry_32.o] Error 1

Make [1]: *** [ARCH/x86/kernel] Error 2

Make: *** [ARCH/x86] Error 2


Modify two items:

---- Entry_32.s.original 08:21:51. 000000000-0400
++ Entry_32.s 10:37:00. 000000000-0400
@-343,7 + 343,7 @@
# Int/exception return?
JNE work_pending
JMP restore_all
--End (ret_from_exception)
+ End (resume_userspace)

# Ifdef config_preempt
Entry (resume_kernel)
@-1413,7 + 1413,7 @@
Cfi_adjust_cfa_offset 4
JMP error_code
--End (apf_page_fault)
+ End (async_page_fault)
# Endif

Note: The end with the -- sign indicates the row to be removed.

The end with the "+" sign is the row to be added.

Reference URL:



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.