- 27 6月, 2009 4 次提交
-
-
由 Arnd Bergmann 提交于
A few smaller issues found by sparse, some code that was never used, two instances of '0' instead of 'NULL' and local variables shadowing another one. Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Arnd Bergmann 提交于
Syscalls should return 'long' and be marked as 'asmlinkage'. Functions that are only used in a single file should be 'static'. Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Arnd Bergmann 提交于
Annotate the address space for pointers that are used correctly with __user and __iomem, so that sparse can better warn about incorrect casts. Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Arnd Bergmann 提交于
Files that define a global function should #include the header with its declaration to make sure that the prototypes do not diverge. Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 22 6月, 2009 1 次提交
-
-
由 Chen Liqin 提交于
Because enable_irq clobber r8 before arg5 was saved. modified: arch/score/kernel/entry.S Signed-off-by: NChen Liqin <liqin.chen@sunplusct.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 19 6月, 2009 4 次提交
-
-
由 Arnd Bergmann 提交于
init_mm is now part of the common code and not provided by the architecture any more. Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Arnd Bergmann 提交于
This adds back a sys_call_table to the score architecture, which got lost in the conversion to the generic unistd.h file. It's rather worrying that the code got submitted without a system call table, which evidently means that it got zero testing. Since the system call table has a different layout from the old one (which was modeled after the mips-o32 one), I also try to fix the entry.S path to use it. In the modified calling conventions, all system call arguments are passed as registers r4 through r9, instead of r4 through r7 plus stack for the fifth and sixth argument. This matches what other architectures to when they normally pass arguments on the stack. Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Chen Liqin 提交于
modified: arch/score/include/asm/cacheflush.h modified: arch/score/include/asm/delay.h modified: arch/score/include/asm/errno.h modified: arch/score/include/asm/pgtable-bits.h modified: arch/score/include/asm/pgtable.h modified: arch/score/include/asm/ptrace.h modified: arch/score/include/asm/unistd.h modified: arch/score/kernel/entry.S modified: arch/score/kernel/process.c modified: arch/score/kernel/ptrace.c modified: arch/score/kernel/signal.c modified: arch/score/kernel/sys_score.c modified: arch/score/kernel/traps.c modified: arch/score/mm/cache.c Signed-off-by: NChen Liqin <liqin.chen@sunplusct.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
由 Chen Liqin 提交于
This is the complete set of new arch Score's files for linux. Score instruction set support 16bits, 32bits and 64bits instruction, Score SOC had been used in game machine and LCD TV. Signed-off-by: NChen Liqin <liqin.chen@sunplusct.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-