Fix warning in sync
PATCH 1/1 Fix warning in sync
Patch is self-explanatory
commit 071a800cd07c2b9d13c7909aa99016d89a814ae6
Author: Zachary Amsden <[email protected]> Date: Wed Sep 30 17:03:16 2009 -1000
Remove warning due to kvm_mmu_notifier_change_pte being static
Signed-off-by Zachary Amsden <[email protected]>
sync +3 -0
@@ -97,6 +97,9 @@ def __hack(data): line = '#include <asm/types.h>' if match(r'\t\.change_pte.*kvm_mmu_notifier_change_pte,'): line = '#ifdef MMU_NOTIFIER_HAS_CHANGE_PTE\n' + line + '\n#endif' + if match(r'static void kvm_mmu_notifier_change_pte'): + line = sub(r'static ', '', line) + line = '#ifdef MMU_NOTIFIER_HAS_CHANGE_PTE\n' + 'static\n' + '#endif\n' + line line = sub(r'\bhrtimer_init\b', 'hrtimer_init_p', line) line = sub(r'\bhrtimer_start\b', 'hrtimer_start_p', line) line = sub(r'\bhrtimer_cancel\b', 'hrtimer_cancel_p', line)
Marcelo Tosatti
AppliedQuoted 1 line · Zachary Amsden
Patch is self-explanatory
.
Quoted 7 lines
commit
071a800cd07c2b9d13c7909aa99016d89a814ae6Author: Zachary Amsden <[email protected]> Date: Wed Sep 30 17:03:16 2009 -1000Remove warning due to
kvm_mmu_notifier_change_ptebeing staticSigned-off-by Zachary Amsden <[email protected]>
Applied, thanks.