-
Notifications
You must be signed in to change notification settings - Fork 2
Comparing changes
Open a pull request
base repository: m-labs/linux-milkymist
base: e7f8b2eb45d1
head repository: m-labs/linux-milkymist
compare: 4b7205897744
- 18 commits
- 38 files changed
- 2 contributors
Commits on Mar 3, 2013
-
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>
Configuration menu - View commit details
-
Copy full SHA for 1a70d26 - Browse repository at this point
Copy the full SHA 1a70d26View commit details -
lm32: signal: Use flush_icache_range() instead of open-coding it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for 75f7d00 - Browse repository at this point
Copy the full SHA 75f7d00View commit details -
lm32: signal: Reset restart_block.fn in rt_sigreturn
This is required for proper operation. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for ac2205b - Browse repository at this point
Copy the full SHA ac2205bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 41b08fb - Browse repository at this point
Copy the full SHA 41b08fbView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b687889 - Browse repository at this point
Copy the full SHA b687889View commit details -
consolidate kernel-side struct sigaction declarations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Configuration menu - View commit details
-
Copy full SHA for ca15062 - Browse repository at this point
Copy the full SHA ca15062View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9894936 - Browse repository at this point
Copy the full SHA 9894936View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b6df4b0 - Browse repository at this point
Copy the full SHA b6df4b0View commit details -
Normal logics for altstack handling in sigframe allocation Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 7a5070b - Browse repository at this point
Copy the full SHA 7a5070bView commit details -
lm32: signal: switch to ksignal
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for 17412b4 - Browse repository at this point
Copy the full SHA 17412b4View commit details -
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for 11b6d4c - Browse repository at this point
Copy the full SHA 11b6d4cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9df0d4b - Browse repository at this point
Copy the full SHA 9df0d4bView commit details -
lm32: processor.h: More cleanups
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for abac1ab - Browse repository at this point
Copy the full SHA abac1abView commit details -
It is unused these days. There is a generic implementation of it now. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for 7b96718 - Browse repository at this point
Copy the full SHA 7b96718View commit details -
lm32: timex.h: Remove CLOCK_TICK_RATE
It's unused. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for 0bfdb9b - Browse repository at this point
Copy the full SHA 0bfdb9bView commit details -
lm32: prom.h: Remove #ifdef CONFIG_OF
CONFIG_OF is always defined for lm32. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for ec06e14 - Browse repository at this point
Copy the full SHA ec06e14View commit details -
We never use it. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Configuration menu - View commit details
-
Copy full SHA for a24553b - Browse repository at this point
Copy the full SHA a24553bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 4b72058 - Browse repository at this point
Copy the full SHA 4b72058View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff e7f8b2eb45d1...4b7205897744