public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] cacheflush01, remove extraneous characters for mips specific section
@ 2009-06-27  1:30 Henry Yei
  2009-06-30  7:41 ` Subrata Modak
  0 siblings, 1 reply; 2+ messages in thread
From: Henry Yei @ 2009-06-27  1:30 UTC (permalink / raw)
  To: ltp-list

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

I am submitting a patch for cacheflush01, it looks like there are unneeded characters before 
return syscall(__NR_cacheflush, addr, nbytes, cache) inside the mips section.

Without this patch, the test does not compile with a mips compiler.

Henry Yei (QA)
MontaVista Software, Inc.
hyei@mvista.com


 

[-- Attachment #2: cacheflush01.patch --]
[-- Type: application/octet-stream, Size: 641 bytes --]

diff -ruN ltp-full-20090531/testcases/kernel/syscalls/cacheflush/cacheflush01.c ltp-full-20090531.test/testcases/kernel/syscalls/cacheflush/cacheflush01.c
--- ltp-full-20090531/testcases/kernel/syscalls/cacheflush/cacheflush01.c     2009-04-14 23:32:35.000000000 -0700
+++ ltp-full-20090531/testcases/kernel/syscalls/cacheflush/cacheflush01.c    2009-06-25 06:07:26.000000000 -0700
@@ -49,7 +49,7 @@
 #include <asm/cachectl.h>
 int cacheflush(char *addr, int nbytes, int cache)
 {
-B  B  B  B return syscall(__NR_cacheflush, addr, nbytes, cache);
+return syscall(__NR_cacheflush, addr, nbytes, cache);
 }
 #endif /* __mips__ */


[-- Attachment #3: Type: text/plain, Size: 79 bytes --]

------------------------------------------------------------------------------

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-30  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-27  1:30 [LTP] [PATCH] cacheflush01, remove extraneous characters for mips specific section Henry Yei
2009-06-30  7:41 ` Subrata Modak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox