Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/linux-milkymist
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e7f8b2eb45d1
Choose a base ref
...
head repository: m-labs/linux-milkymist
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4b7205897744
Choose a head ref
  • 18 commits
  • 38 files changed
  • 2 contributors

Commits on Mar 3, 2013

  1. lm32: signal: Use restore_altstack()

    do_sigaltstack() will be gone in the next upstream release, restore_altstack()
    is it's replacement.
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1a70d26 View commit details
  2. lm32: signal: Use flush_icache_range() instead of open-coding it.

    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    75f7d00 View commit details
  3. lm32: signal: Reset restart_block.fn in rt_sigreturn

    This is required for proper operation.
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    ac2205b View commit details
  4. lm32: signals: Add proper __user annotation for setup_sigcontext()

    The sigcontext struct we are working with here is on the userspace stack.
    
    Fixes the following sparse warnings:
    	arch/lm32/kernel/signal.c:114:31: warning: incorrect type in argument 1 (different address spaces)
    	arch/lm32/kernel/signal.c:114:31:    expected void [noderef] <asn:1>*to
    	arch/lm32/kernel/signal.c:114:31:    got struct pt_regs *<noident>
    	arch/lm32/kernel/signal.c:115:16: warning: incorrect type in initializer (different address spaces)
    	arch/lm32/kernel/signal.c:115:16:    expected unsigned long [noderef] <asn:1>*__pu_addr
    	arch/lm32/kernel/signal.c:115:16:    got unsigned long *<noident>
    	arch/lm32/kernel/signal.c:148:34: warning: incorrect type in argument 1 (different address spaces)
    	arch/lm32/kernel/signal.c:148:34:    expected struct sigcontext *sc
    	arch/lm32/kernel/signal.c:148:34:    got struct sigcontext [noderef] <asn:1>*<noident>
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    41b08fb View commit details
  5. consolidate declarations of k_sigaction

    Only alpha and sparc are unusual - they have ka_restorer in it.
    And nobody needs that exposed to userland.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro authored and larsclausen committed Mar 3, 2013
    Copy the full SHA
    b687889 View commit details
  6. consolidate kernel-side struct sigaction declarations

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro authored and larsclausen committed Mar 3, 2013
    Copy the full SHA
    ca15062 View commit details
  7. new helper: get_signal()

    On success get_signal_to_deliver() fills k_sigaction and siginfo.
    _All_ users pass it addresses of the local variables sitting in
    the same function.  Then they proceed to pass those addresses
    pretty much in tandem to a bunch of helper functions; again, all
    callers of those helpers are passing them such a pair, and one that
    had been through get_signal_to_deliver() at that.
    
    The obvious cleanup: introduce a new type that would contain a
    <k_sigaction,siginfo> pair (struct ksignal) and begin switching to
    using it.  Turns out that it's convenient to store the signal number
    in the same object.
    
    New helper, taking that sucker is a wrapper for get_signal_to_deliver();
    takes struct ksignal * and returns bool.  On success fills ksignal
    with the information for signal handler to be invoked.
    
    For now it's a macro (to avoid header ordering headache), but eventually
    it'll be a function in kernel/signal.c, with get_signal_to_deliver()
    folded into it.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro authored and larsclausen committed Mar 3, 2013
    Copy the full SHA
    9894936 View commit details
  8. new helper: signal_setup_done()

    usual "call force_sigsegv or signal_delivered" logics.  Takes
    ksignal instead of separate siginfo/k_sigaction.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro authored and larsclausen committed Mar 3, 2013
    Copy the full SHA
    b6df4b0 View commit details
  9. new helper: sigsp()

    Normal logics for altstack handling in sigframe allocation
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro authored and larsclausen committed Mar 3, 2013
    Copy the full SHA
    7a5070b View commit details
  10. lm32: signal: switch to ksignal

    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    17412b4 View commit details
  11. lm32: Rework signal handling

    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    11b6d4c View commit details
  12. lm32: entry.S: Use PT_Rxx instead of magic numbers

    Use the PT_Rxx defines instead of magic number for accessing the pt_regs fields.
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    9df0d4b View commit details
  13. lm32: processor.h: More cleanups

    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    abac1ab View commit details
  14. lm32: Remove gpio.h

    It is unused these days. There is a generic implementation of it now.
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    7b96718 View commit details
  15. lm32: timex.h: Remove CLOCK_TICK_RATE

    It's unused.
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    0bfdb9b View commit details
  16. lm32: prom.h: Remove #ifdef CONFIG_OF

    CONFIG_OF is always defined for lm32.
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    ec06e14 View commit details
  17. lm32: Remove r0 from pt_regs

    We never use it.
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    a24553b View commit details
  18. lm32: process.c: Include linux/pm.h

    Fixes the following sparse warning:
    	arch/lm32/kernel/process.c:53:6: warning: symbol 'pm_power_off' was not declared. Should it be static?
    
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    larsclausen committed Mar 3, 2013
    Copy the full SHA
    4b72058 View commit details
Loading