diff options
| -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 | } |
