From: Yoshinori Sato <ysato@users.sourceforge.jp>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] linux-2.6.0-test2 h8300 archtecure support update (6/6)
Date: Mon, 28 Jul 2003 23:19:02 +0900 [thread overview]
Message-ID: <m2lluiag4p.wl%ysato@users.sourceforge.jp> (raw)
build error and warning fix
blkdev location cleanup
typo fix
--
Yoshinori Sato
<ysato@users.sourceforge.jp>
diff -Nru linux-2.6.0-test2/arch/h8300/lib/Makefile linux-2.6.0-test2-h8300/arch/h8300/lib/Makefile
--- linux-2.6.0-test2/arch/h8300/lib/Makefile 2003-07-14 15:00:22.000000000 +0900
+++ linux-2.6.0-test2-h8300/arch/h8300/lib/Makefile 2003-07-28 12:40:08.000000000 +0900
@@ -5,4 +5,4 @@
.S.o:
$(CC) $(AFLAGS) -D__ASSEMBLY__ -c $< -o $@
-lib-y = ashrdi3.o checksum.o memcpy.o memset.o abs.o
+lib-y = ashrdi3.o checksum.o memcpy.o memset.o abs.o romfs.o
diff -Nru linux-2.6.0-test2/arch/h8300/lib/abs.S linux-2.6.0-test2-h8300/arch/h8300/lib/abs.S
--- linux-2.6.0-test2/arch/h8300/lib/abs.S 2003-07-14 15:00:22.000000000 +0900
+++ linux-2.6.0-test2-h8300/arch/h8300/lib/abs.S 2003-07-19 21:41:33.000000000 +0900
@@ -1,4 +1,4 @@
-;;; memcpy.S
+;;; abs.S
#include <asm/linkage.h>
diff -Nru linux-2.6.0-test2/arch/h8300/lib/memset.S linux-2.6.0-test2-h8300/arch/h8300/lib/memset.S
--- linux-2.6.0-test2/arch/h8300/lib/memset.S 2003-07-14 15:00:22.000000000 +0900
+++ linux-2.6.0-test2-h8300/arch/h8300/lib/memset.S 2003-07-19 23:20:29.000000000 +0900
@@ -17,9 +17,6 @@
;; c = er1(r1l)
;; count = er2
SYMBOL_NAME_LABEL(memset)
- mov.l er2,er2
- beq 7f
- mov.l er0,@-sp
btst #0,r0l
beq 2f
@@ -36,8 +33,13 @@
cmp.l #4,er2
blo 4f
;; count>=4 -> count/4
+#if defined(__H8300H__)
shlr.l er2
shlr.l er2
+#endif
+#if defined(__H8300S__)
+ shlr.l #2,er2
+#endif
;; byte -> long
mov.b r1l,r1h
mov.w r1,e1
@@ -56,6 +58,4 @@
dec.b r3l
bne 5b
6:
- mov.l @sp+,er0
-7:
- rts
\ No newline at end of file
+ rts
reply other threads:[~2003-07-28 14:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2lluiag4p.wl%ysato@users.sourceforge.jp \
--to=ysato@users.sourceforge.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).