|
@@ -47,11 +47,11 @@ static bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc)
|
|
|
unsigned long replptr;
|
|
unsigned long replptr;
|
|
|
|
|
|
|
|
if (kernel_text_address(pc))
|
|
if (kernel_text_address(pc))
|
|
|
- return 1;
|
|
|
|
|
|
|
+ return true;
|
|
|
|
|
|
|
|
replptr = (unsigned long)ALT_REPL_PTR(alt);
|
|
replptr = (unsigned long)ALT_REPL_PTR(alt);
|
|
|
if (pc >= replptr && pc <= (replptr + alt->alt_len))
|
|
if (pc >= replptr && pc <= (replptr + alt->alt_len))
|
|
|
- return 0;
|
|
|
|
|
|
|
+ return false;
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
* Branching into *another* alternate sequence is doomed, and
|
|
* Branching into *another* alternate sequence is doomed, and
|