Skip to content

Commit 1306b04

Browse files
committed
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"
2 parents 76d9c6c + ad32a1f commit 1306b04

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

arch/um/kernel/reboot.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <skas.h>
1313

1414
void (*pm_power_off)(void);
15+
EXPORT_SYMBOL(pm_power_off);
1516

1617
static void kill_off_processes(void)
1718
{

arch/um/kernel/signal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void do_signal(struct pt_regs *regs)
6969
struct ksignal ksig;
7070
int handled_sig = 0;
7171

72-
if (get_signal(&ksig)) {
72+
while (get_signal(&ksig)) {
7373
handled_sig = 1;
7474
/* Whee! Actually deliver the signal. */
7575
handle_signal(&ksig, regs);

arch/x86/um/os-Linux/task_size.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ unsigned long os_get_top_address(void)
109109
exit(1);
110110
}
111111

112-
printf("0x%x\n", bottom << UM_KERN_PAGE_SHIFT);
112+
printf("0x%lx\n", bottom << UM_KERN_PAGE_SHIFT);
113113
printf("Locating the top of the address space ... ");
114114
fflush(stdout);
115115

@@ -134,7 +134,7 @@ unsigned long os_get_top_address(void)
134134
exit(1);
135135
}
136136
top <<= UM_KERN_PAGE_SHIFT;
137-
printf("0x%x\n", top);
137+
printf("0x%lx\n", top);
138138

139139
return top;
140140
}

0 commit comments

Comments
 (0)