Commit a78ea39d authored by Matthias Maennich's avatar Matthias Maennich Committed by Treehugger Robot
Browse files

ANDROID: Revert ABI breakage due to accidental CRC value changes



Commit 01e61d38 ("ANDROID: vendor_hooks: Add hooks for lookaround")
subtly changed the CRC values computed for 5 symbols:

  buffer_migrate_page
  migrate_page_copy
  migrate_page_move_mapping
  migrate_page_states
  migrate_pages

This was caused by an include in mm/migrate.c that exposed additional
type information relevant for the modversions CRC computation. Commit
930cf717 ("ANDROID: oplus: Update the ABI xml and symbol list")
updated the ABI representation and that breaking change was unnoticed.

Fix that by guarding the include and reverting the ABI definition.

Effective ABI change:

  function symbol 'int buffer_migrate_page(struct address_space *, struct page *, struct page *, enum migrate_mode)' changed
    CRC changed from 0x7951f1db to 0xcdeca50f

  function symbol 'void migrate_page_copy(struct page *, struct page *)' changed
    CRC changed from 0xb3b9058d to 0xe97d88f0

  function symbol 'int migrate_page_move_mapping(struct address_space *, struct page *, struct page *, int)' changed
    CRC changed from 0x74bd3238 to 0xb7809eee

  function symbol 'void migrate_page_states(struct page *, struct page *)' changed
    CRC changed from 0x32ac080e to 0x8caf3272

  function symbol 'int migrate_pages(struct list_head *, new_page_t *, free_page_t *, unsigned long int, enum migrate_mode, int, unsigned int *)' changed
    CRC changed from 0xe0b25d16 to 0x90f84eaa

Bug: 296960489
Fixes: 01e61d38 ("ANDROID: vendor_hooks: Add hooks for lookaround")
Signed-off-by: default avatarMatthias Maennich <maennich@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:4f49704212e04e8fec00989f31fc8141f5dfa358)
Merged-In: I62421984a3e0306490db8e62e86562a95ea06ef4
Change-Id: I62421984a3e0306490db8e62e86562a95ea06ef4
parent e5901571
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment