diff options
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/Kconfig.debug | 1 | ||||
-rw-r--r-- | arch/um/kernel/time_kern.c | 2 | ||||
-rw-r--r-- | arch/um/sys-ppc/misc.S | 6 |
3 files changed, 2 insertions, 7 deletions
diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug index 5681a8bd37..bab51d6191 100644 --- a/arch/um/Kconfig.debug +++ b/arch/um/Kconfig.debug | |||
@@ -49,7 +49,6 @@ config GCOV | |||
49 | 49 | ||
50 | config SYSCALL_DEBUG | 50 | config SYSCALL_DEBUG |
51 | bool "Enable system call debugging" | 51 | bool "Enable system call debugging" |
52 | default N | ||
53 | depends on DEBUG_INFO | 52 | depends on DEBUG_INFO |
54 | help | 53 | help |
55 | This adds some system debugging to UML, including keeping a ring buffer | 54 | This adds some system debugging to UML, including keeping a ring buffer |
diff --git a/arch/um/kernel/time_kern.c b/arch/um/kernel/time_kern.c index 86f51d04c9..87cdbc560d 100644 --- a/arch/um/kernel/time_kern.c +++ b/arch/um/kernel/time_kern.c | |||
@@ -87,7 +87,7 @@ void timer_irq(union uml_pt_regs *regs) | |||
87 | 87 | ||
88 | void time_init_kern(void) | 88 | void time_init_kern(void) |
89 | { | 89 | { |
90 | unsigned long long nsecs; | 90 | long long nsecs; |
91 | 91 | ||
92 | nsecs = os_nsecs(); | 92 | nsecs = os_nsecs(); |
93 | set_normalized_timespec(&wall_to_monotonic, -nsecs / BILLION, | 93 | set_normalized_timespec(&wall_to_monotonic, -nsecs / BILLION, |
diff --git a/arch/um/sys-ppc/misc.S b/arch/um/sys-ppc/misc.S index 11b7bd768c..f0c971db47 100644 --- a/arch/um/sys-ppc/misc.S +++ b/arch/um/sys-ppc/misc.S | |||
@@ -23,14 +23,10 @@ | |||
23 | #define CACHE_LINE_SIZE 16 | 23 | #define CACHE_LINE_SIZE 16 |
24 | #define LG_CACHE_LINE_SIZE 4 | 24 | #define LG_CACHE_LINE_SIZE 4 |
25 | #define MAX_COPY_PREFETCH 1 | 25 | #define MAX_COPY_PREFETCH 1 |
26 | #elif !defined(CONFIG_PPC64BRIDGE) | 26 | #else |
27 | #define CACHE_LINE_SIZE 32 | 27 | #define CACHE_LINE_SIZE 32 |
28 | #define LG_CACHE_LINE_SIZE 5 | 28 | #define LG_CACHE_LINE_SIZE 5 |
29 | #define MAX_COPY_PREFETCH 4 | 29 | #define MAX_COPY_PREFETCH 4 |
30 | #else | ||
31 | #define CACHE_LINE_SIZE 128 | ||
32 | #define LG_CACHE_LINE_SIZE 7 | ||
33 | #define MAX_COPY_PREFETCH 1 | ||
34 | #endif /* CONFIG_4xx || CONFIG_8xx */ | 30 | #endif /* CONFIG_4xx || CONFIG_8xx */ |
35 | 31 | ||
36 | .text | 32 | .text |