diff options
-rw-r--r-- | arch/microblaze/configs/mmu_defconfig | 4 | ||||
-rw-r--r-- | arch/microblaze/include/asm/unistd.h | 3 | ||||
-rw-r--r-- | arch/microblaze/include/uapi/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/microblaze/kernel/kgdb.c | 2 | ||||
-rw-r--r-- | drivers/block/xsysace.c | 4 |
5 files changed, 9 insertions, 6 deletions
diff --git a/arch/microblaze/configs/mmu_defconfig b/arch/microblaze/configs/mmu_defconfig index 3649a8b150c0..deaf45ab6429 100644 --- a/arch/microblaze/configs/mmu_defconfig +++ b/arch/microblaze/configs/mmu_defconfig | |||
@@ -1,4 +1,3 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | ||
2 | CONFIG_SYSVIPC=y | 1 | CONFIG_SYSVIPC=y |
3 | CONFIG_POSIX_MQUEUE=y | 2 | CONFIG_POSIX_MQUEUE=y |
4 | CONFIG_FHANDLE=y | 3 | CONFIG_FHANDLE=y |
@@ -81,6 +80,9 @@ CONFIG_DETECT_HUNG_TASK=y | |||
81 | CONFIG_DEBUG_SLAB=y | 80 | CONFIG_DEBUG_SLAB=y |
82 | CONFIG_DEBUG_SPINLOCK=y | 81 | CONFIG_DEBUG_SPINLOCK=y |
83 | CONFIG_DEBUG_INFO=y | 82 | CONFIG_DEBUG_INFO=y |
83 | CONFIG_KGDB=y | ||
84 | CONFIG_KGDB_TESTS=y | ||
85 | CONFIG_KGDB_KDB=y | ||
84 | CONFIG_EARLY_PRINTK=y | 86 | CONFIG_EARLY_PRINTK=y |
85 | CONFIG_KEYS=y | 87 | CONFIG_KEYS=y |
86 | CONFIG_ENCRYPTED_KEYS=y | 88 | CONFIG_ENCRYPTED_KEYS=y |
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h index 6dece2d002dc..b14232b6878f 100644 --- a/arch/microblaze/include/asm/unistd.h +++ b/arch/microblaze/include/asm/unistd.h | |||
@@ -38,4 +38,7 @@ | |||
38 | #define __ARCH_WANT_SYS_FORK | 38 | #define __ARCH_WANT_SYS_FORK |
39 | 39 | ||
40 | #endif /* __ASSEMBLY__ */ | 40 | #endif /* __ASSEMBLY__ */ |
41 | |||
42 | #define __NR_syscalls 381 | ||
43 | |||
41 | #endif /* _ASM_MICROBLAZE_UNISTD_H */ | 44 | #endif /* _ASM_MICROBLAZE_UNISTD_H */ |
diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h index 5f7fe7582f3a..20043b67d158 100644 --- a/arch/microblaze/include/uapi/asm/unistd.h +++ b/arch/microblaze/include/uapi/asm/unistd.h | |||
@@ -397,6 +397,4 @@ | |||
397 | #define __NR_kcmp 379 | 397 | #define __NR_kcmp 379 |
398 | #define __NR_finit_module 380 | 398 | #define __NR_finit_module 380 |
399 | 399 | ||
400 | #define __NR_syscalls 381 | ||
401 | |||
402 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ | 400 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ |
diff --git a/arch/microblaze/kernel/kgdb.c b/arch/microblaze/kernel/kgdb.c index 8adc92443100..09a5e8286137 100644 --- a/arch/microblaze/kernel/kgdb.c +++ b/arch/microblaze/kernel/kgdb.c | |||
@@ -141,7 +141,7 @@ void kgdb_arch_exit(void) | |||
141 | /* | 141 | /* |
142 | * Global data | 142 | * Global data |
143 | */ | 143 | */ |
144 | const struct kgdb_arch arch_kgdb_ops = { | 144 | struct kgdb_arch arch_kgdb_ops = { |
145 | #ifdef __MICROBLAZEEL__ | 145 | #ifdef __MICROBLAZEEL__ |
146 | .gdb_bpt_instr = {0x18, 0x00, 0x0c, 0xba}, /* brki r16, 0x18 */ | 146 | .gdb_bpt_instr = {0x18, 0x00, 0x0c, 0xba}, /* brki r16, 0x18 */ |
147 | #else | 147 | #else |
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 3fd130fdfbc1..1393b8871a28 100644 --- a/drivers/block/xsysace.c +++ b/drivers/block/xsysace.c | |||
@@ -407,7 +407,7 @@ static void ace_dump_regs(struct ace_device *ace) | |||
407 | ace_in32(ace, ACE_CFGLBA), ace_in(ace, ACE_FATSTAT)); | 407 | ace_in32(ace, ACE_CFGLBA), ace_in(ace, ACE_FATSTAT)); |
408 | } | 408 | } |
409 | 409 | ||
410 | void ace_fix_driveid(u16 *id) | 410 | static void ace_fix_driveid(u16 *id) |
411 | { | 411 | { |
412 | #if defined(__BIG_ENDIAN) | 412 | #if defined(__BIG_ENDIAN) |
413 | int i; | 413 | int i; |
@@ -463,7 +463,7 @@ static inline void ace_fsm_yieldirq(struct ace_device *ace) | |||
463 | } | 463 | } |
464 | 464 | ||
465 | /* Get the next read/write request; ending requests that we don't handle */ | 465 | /* Get the next read/write request; ending requests that we don't handle */ |
466 | struct request *ace_get_next_request(struct request_queue * q) | 466 | static struct request *ace_get_next_request(struct request_queue *q) |
467 | { | 467 | { |
468 | struct request *req; | 468 | struct request *req; |
469 | 469 | ||