The compiler will make reasonable default choies for inline
functions, so the inline keywords are redundant. Remove them to
retain consistant code style.
Signed-off-by: Jiang Biao
Suggested-by: Richard Henderson
---
tcg/mips/tcg-target.inc.c | 52
Make some functions inline.
Signed-off-by: Jiang Biao
---
tcg/mips/tcg-target.inc.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tcg/mips/tcg-target.inc.c b/tcg/mips/tcg-target.inc.c
index 4b55ab8..f83a8ec 100644
--- a/tcg/mips/tcg-target.inc.c
+++ b
reference.
Signed-off-by: Jiang Biao
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 3c0a28e..c4ec031 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1442,7 +1442,7 @@ sub process
There are some rare cases which need external declarations in .c
files. patchew.org and checkpatch.pl will complain errors on
patches for these declarations.
Degrade ERROR to WARN to erase the error complaints taking
checkpatch.pl in kernel as reference.
Signed-off-by: Jiang Biao
---
scripts
When adding a function declaration in a .c file without extern
keywork decoration, checkpatch.pl will report *externs should be
avoided in .c files* false error. This patch fixes the bug.
Signed-off-by: Jiang Biao
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion
The atomics.txt is not in the docs directory but in docs/devel/
instead.
Signed-off-by: Jiang Biao
---
tcg/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/README b/tcg/README
index bf49e82..03bfb6a 100644
--- a/tcg/README
+++ b/tcg/README
@@ -446,7 +446,7 @@ when
Reserve a register for the guest_base using ppc code for reference.
By doing so, we do not have to recompute it for every memory load.
Signed-off-by: Jiang Biao
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.inc.c | 17 +
1 file changed, 13 insertions(+), 4 deletions
When running a helloworld program with qemu-i386 in linux-user
mode on Loongson 3A3000, it will crash. This patch fix the bug.
Signed-off-by: Jiang Biao
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.inc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a
When running a helloworld program with qemu-i386 in linux-user
mode on Loongson 3A3000, it will crash. The reasion is wrong
assigning from base to addr_regl directly. This patch fix the
bug.
Signed-off-by: Jiang Biao
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.inc.c | 10
When running a helloworld program with qemu-i386 in linux-user
mode on Loongson 3A3000, it will crash. This patch fix the bug.
Signed-off-by: Jiang Biao
---
tcg/mips/tcg-target.inc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/mips/tcg-target.inc.c b/tcg/mips/tcg
10 matches
Mail list logo