Skip to content

Commit

Permalink
Merge branch 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-micro…
Browse files Browse the repository at this point in the history
…blaze

* 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-microblaze:
  microblaze: Fix return value for sys_ipc
  microblaze: Storage class should be before const qualifier
  • Loading branch information
torvalds committed May 8, 2009
2 parents 201517a + c71a7a3 commit b20a4e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arch/microblaze/kernel/cpu/cpuinfo-static.c
Expand Up @@ -14,8 +14,8 @@
#include <asm/cpuinfo.h>
#include <asm/pvr.h>

const static char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY;
const static char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER;
static const char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY;
static const char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER;

#define err_printk(x) \
early_printk("ERROR: Microblaze " x "- different for kernel and DTS\n");
Expand Down
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/sys_microblaze.c
Expand Up @@ -131,7 +131,7 @@ sys_ipc(uint call, int first, int second, int third, void *ptr, long fifth)
ret = sys_shmctl(first, second, (struct shmid_ds *) ptr);
break;
}
return -EINVAL;
return ret;
}

asmlinkage int sys_vfork(struct pt_regs *regs)
Expand Down

0 comments on commit b20a4e9

Please sign in to comment.