Re: [PATCH] jump label: constify lookup functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Mar 2014 15:40:05 -0400
Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:

> ping?
> 
> On 02/12/2014 08:56 AM, Sasha Levin wrote:
> > ping?
> >
> > On 01/27/2014 02:27 PM, Sasha Levin wrote:
> >> Modify the parameters of all the lookup and the bookkeeping functions which
> >> should be const to const.
> >>
> >> For example, jump_label_text_reserved() doesn't modify the memory it works on,
> >> it just checks whether there are any jump labels there.
> >>
> >> Signed-off-by: Sasha Levin <sasha.levin@xxxxxxxxxx>
> >> ---
> >>   arch/arm/include/asm/jump_label.h     |  2 +-
> >>   arch/arm/kernel/jump_label.c          |  6 ++---
> >>   arch/arm64/include/asm/jump_label.h   |  2 +-
> >>   arch/arm64/kernel/jump_label.c        |  6 ++---
> >>   arch/mips/include/asm/jump_label.h    |  2 +-
> >>   arch/mips/kernel/jump_label.c         |  2 +-
> >>   arch/powerpc/include/asm/jump_label.h |  2 +-
> >>   arch/powerpc/kernel/jump_label.c      |  2 +-
> >>   arch/s390/include/asm/jump_label.h    |  2 +-
> >>   arch/s390/kernel/jump_label.c         | 12 ++++-----
> >>   arch/sparc/include/asm/jump_label.h   |  2 +-
> >>   arch/sparc/kernel/jump_label.c        |  2 +-
> >>   arch/x86/include/asm/jump_label.h     |  2 +-
> >>   arch/x86/include/asm/spinlock.h       |  2 +-
> >>   arch/x86/kernel/jump_label.c          |  6 ++---

The arch changes should be broken up per arch. They are not dependent
on each other, and they require being either acked by or pulled in by
the architecture maintainers.

> >>   include/linux/jump_label.h            | 27 ++++++++++----------
> >>   kernel/jump_label.c                   | 46 ++++++++++++++++++-----------------
> >>   17 files changed, 64 insertions(+), 61 deletions(-)

The jump label generic patch should also be by itself, and that I can
take.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux