diff options
| -rw-r--r-- | arch/arm/mach-s3c2410/common-smdk.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-s3c2410/s3c2440-clock.c | 2 | ||||
| -rw-r--r-- | include/asm-arm/unistd.h | 18 |
3 files changed, 20 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/common-smdk.c b/arch/arm/mach-s3c2410/common-smdk.c index f372fbda124e..c940890f621f 100644 --- a/arch/arm/mach-s3c2410/common-smdk.c +++ b/arch/arm/mach-s3c2410/common-smdk.c | |||
| @@ -50,7 +50,7 @@ static struct mtd_partition smdk_default_nand_part[] = { | |||
| 50 | .offset = 0, | 50 | .offset = 0, |
| 51 | }, | 51 | }, |
| 52 | [1] = { | 52 | [1] = { |
| 53 | .name = "S3C2410 flash parition 1", | 53 | .name = "S3C2410 flash partition 1", |
| 54 | .offset = 0, | 54 | .offset = 0, |
| 55 | .size = SZ_2M, | 55 | .size = SZ_2M, |
| 56 | }, | 56 | }, |
diff --git a/arch/arm/mach-s3c2410/s3c2440-clock.c b/arch/arm/mach-s3c2410/s3c2440-clock.c index 57a15974d4b5..d7a30ed6c327 100644 --- a/arch/arm/mach-s3c2410/s3c2440-clock.c +++ b/arch/arm/mach-s3c2410/s3c2440-clock.c | |||
| @@ -139,7 +139,7 @@ static int s3c2440_clk_add(struct sys_device *sysdev) | |||
| 139 | 139 | ||
| 140 | clkdivn = __raw_readl(S3C2410_CLKDIVN); | 140 | clkdivn = __raw_readl(S3C2410_CLKDIVN); |
| 141 | clkdivn |= S3C2440_CLKDIVN_UCLK; | 141 | clkdivn |= S3C2440_CLKDIVN_UCLK; |
| 142 | __raw_writel(camdivn, S3C2410_CLKDIVN); | 142 | __raw_writel(clkdivn, S3C2410_CLKDIVN); |
| 143 | 143 | ||
| 144 | mutex_unlock(&clocks_mutex); | 144 | mutex_unlock(&clocks_mutex); |
| 145 | } | 145 | } |
diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h index 65ac305c2d45..ee8dfea549bc 100644 --- a/include/asm-arm/unistd.h +++ b/include/asm-arm/unistd.h | |||
| @@ -360,6 +360,24 @@ | |||
| 360 | #define __ARM_NR_usr32 (__ARM_NR_BASE+4) | 360 | #define __ARM_NR_usr32 (__ARM_NR_BASE+4) |
| 361 | #define __ARM_NR_set_tls (__ARM_NR_BASE+5) | 361 | #define __ARM_NR_set_tls (__ARM_NR_BASE+5) |
| 362 | 362 | ||
| 363 | /* | ||
| 364 | * The following syscalls are obsolete and no longer available for EABI. | ||
| 365 | */ | ||
| 366 | #if defined(__ARM_EABI__) | ||
| 367 | #undef __NR_time | ||
| 368 | #undef __NR_umount | ||
| 369 | #undef __NR_stime | ||
| 370 | #undef __NR_alarm | ||
| 371 | #undef __NR_utime | ||
| 372 | #undef __NR_getrlimit | ||
| 373 | #undef __NR_select | ||
| 374 | #undef __NR_readdir | ||
| 375 | #undef __NR_mmap | ||
| 376 | #undef __NR_socketcall | ||
| 377 | #undef __NR_syscall | ||
| 378 | #undef __NR_ipc | ||
| 379 | #endif | ||
| 380 | |||
| 363 | #define __sys2(x) #x | 381 | #define __sys2(x) #x |
| 364 | #define __sys1(x) __sys2(x) | 382 | #define __sys1(x) __sys2(x) |
| 365 | 383 | ||
