diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-06 14:19:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-06 14:19:28 -0500 |
commit | 1306b0471ff11409e4f18f3cde00215d367e007a (patch) | |
tree | ee041c404f964929b62fc734fa65b7afea58643f | |
parent | 76d9c6c1c6eb115c2c686d5cbf10a68857511853 (diff) | |
parent | ad32a1f3c36b046b2e7b0361b88c18e3af61419e (diff) |
Merge branch 'for-linus-4.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML fixes from Richard Weinberger:
"This contains three bug/build fixes"
* 'for-linus-4.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
um: use %lx format specifiers for unsigned longs
um: Export pm_power_off
Revert "um: Fix get_signal() usage"
-rw-r--r-- | arch/um/kernel/reboot.c | 1 | ||||
-rw-r--r-- | arch/um/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/x86/um/os-Linux/task_size.c | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/arch/um/kernel/reboot.c b/arch/um/kernel/reboot.c index 9bdf67a092a5..b60a9f8cda75 100644 --- a/arch/um/kernel/reboot.c +++ b/arch/um/kernel/reboot.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <skas.h> | 12 | #include <skas.h> |
13 | 13 | ||
14 | void (*pm_power_off)(void); | 14 | void (*pm_power_off)(void); |
15 | EXPORT_SYMBOL(pm_power_off); | ||
15 | 16 | ||
16 | static void kill_off_processes(void) | 17 | static void kill_off_processes(void) |
17 | { | 18 | { |
diff --git a/arch/um/kernel/signal.c b/arch/um/kernel/signal.c index fc8be0e3a4ff..57acbd67d85d 100644 --- a/arch/um/kernel/signal.c +++ b/arch/um/kernel/signal.c | |||
@@ -69,7 +69,7 @@ void do_signal(struct pt_regs *regs) | |||
69 | struct ksignal ksig; | 69 | struct ksignal ksig; |
70 | int handled_sig = 0; | 70 | int handled_sig = 0; |
71 | 71 | ||
72 | if (get_signal(&ksig)) { | 72 | while (get_signal(&ksig)) { |
73 | handled_sig = 1; | 73 | handled_sig = 1; |
74 | /* Whee! Actually deliver the signal. */ | 74 | /* Whee! Actually deliver the signal. */ |
75 | handle_signal(&ksig, regs); | 75 | handle_signal(&ksig, regs); |
diff --git a/arch/x86/um/os-Linux/task_size.c b/arch/x86/um/os-Linux/task_size.c index 8502ad30e61b..5adb6a2fd117 100644 --- a/arch/x86/um/os-Linux/task_size.c +++ b/arch/x86/um/os-Linux/task_size.c | |||
@@ -109,7 +109,7 @@ unsigned long os_get_top_address(void) | |||
109 | exit(1); | 109 | exit(1); |
110 | } | 110 | } |
111 | 111 | ||
112 | printf("0x%x\n", bottom << UM_KERN_PAGE_SHIFT); | 112 | printf("0x%lx\n", bottom << UM_KERN_PAGE_SHIFT); |
113 | printf("Locating the top of the address space ... "); | 113 | printf("Locating the top of the address space ... "); |
114 | fflush(stdout); | 114 | fflush(stdout); |
115 | 115 | ||
@@ -134,7 +134,7 @@ out: | |||
134 | exit(1); | 134 | exit(1); |
135 | } | 135 | } |
136 | top <<= UM_KERN_PAGE_SHIFT; | 136 | top <<= UM_KERN_PAGE_SHIFT; |
137 | printf("0x%x\n", top); | 137 | printf("0x%lx\n", top); |
138 | 138 | ||
139 | return top; | 139 | return top; |
140 | } | 140 | } |