[PATCH 009/196] Chinese: add translation of sparse.txt
From: Greg Kroah-Hartman
Date: Fri Jan 25 2008 - 02:16:20 EST
From: Li Yang <leo@xxxxxxxxxxxxx>
Signed-off-by: Li Yang <leo@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
Documentation/zh_CN/sparse.txt | 100 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 100 insertions(+), 0 deletions(-)
create mode 100644 Documentation/zh_CN/sparse.txt
diff --git a/Documentation/zh_CN/sparse.txt b/Documentation/zh_CN/sparse.txt
new file mode 100644
index 0000000..75992a6
--- /dev/null
+++ b/Documentation/zh_CN/sparse.txt
@@ -0,0 +1,100 @@
+Chinese translated version of Documentation/sparse.txt
+
+If you have any comment or update to the content, please contact the
+original document maintainer directly. However, if you have a problem
+communicating in English you can also ask the Chinese maintainer for
+help. Contact the Chinese maintainer if this translation is outdated
+or if there is a problem with the translation.
+
+Chinese maintainer: Li Yang <leo@xxxxxxxxxxxxx>
+---------------------------------------------------------------------
+Documentation/sparse.txt ç??ä¸æ??ç¿»è¯?
+
+å¦?æ??æ?³è¯?论æ??æ?´æ?°æ?¬æ??ç??å??容ï¼?请ç?´æ?¥è??ç³»å??æ??æ¡£ç??ç»´æ?¤è??ã??å¦?æ??ä½ ä½¿ç?¨è?±æ??
+交æµ?æ??å?°é?¾ç??è¯?ï¼?ä¹?å?¯ä»¥å??ä¸æ??ç??ç»´æ?¤è??æ±?å?©ã??å¦?æ??æ?¬ç¿»è¯?æ?´æ?°ä¸?å??æ?¶æ??è??ç¿»
+è¯?å?å?¨é?®é¢?ï¼?请è??ç³»ä¸æ??ç??ç»´æ?¤è??ã??
+
+ä¸æ??ç??ç»´æ?¤è??ï¼? æ??é?³ Li Yang <leo@xxxxxxxxxxxxx>
+ä¸æ??ç??ç¿»è¯?è??ï¼? æ??é?³ Li Yang <leo@xxxxxxxxxxxxx>
+
+
+以ä¸?为æ£æ??
+---------------------------------------------------------------------
+
+Copyright 2004 Linus Torvalds
+Copyright 2004 Pavel Machek <pavel@xxxxxxx>
+Copyright 2006 Bob Copeland <me@xxxxxxxxxxxxxxx>
+
+使ç?¨ sparse å·¥å?·å??ç±»å??æ£?æ?¥
+~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+"__bitwise" æ?¯ä¸?ç§?ç±»å??å±?æ?§ï¼?æ??ä»¥ä½ åº?该è¿?æ ·ä½¿ç?¨å®?ï¼?
+
+ typedef int __bitwise pm_request_t;
+
+ enum pm_request {
+ PM_SUSPEND = (__force pm_request_t) 1,
+ PM_RESUME = (__force pm_request_t) 2
+ };
+
+è¿?æ ·ä¼?使 PM_SUSPEND å?? PM_RESUME æ??为ä½?æ?¹å¼?(bitwise)æ?´æ?°ï¼?使ç?¨"__force"
+æ?¯å? 为 sparse ä¼?æ?±æ?¨æ?¹å??ä½?æ?¹å¼?ç??ç±»å??转æ?¢ï¼?ä½?æ?¯è¿?é??æ??们确å®?é??è¦?强å?¶è¿?è¡?转
+æ?¢ï¼?ã??è??ä¸?å? 为æ??æ??æ??举å?¼é?½ä½¿ç?¨äº?ç?¸å??ç??ç±»å??ï¼?è¿?é??ç??"enum pm_request"ä¹?å°?
+ä¼?使ç?¨é?£ä¸ªç±»å??å??为åº?å±?å®?ç?°ã??
+
+è??ä¸?使ç?¨ gcc ç¼?è¯?ç??æ?¶å??ï¼?æ??æ??ç?? __bitwise/__force é?½ä¼?æ¶?失ï¼?æ??å??å?¨ gcc
+ç??æ?¥å®?们å?ªä¸?è¿?æ?¯æ?®é??ç??æ?´æ?°ã??
+
+å?¦ç?½æ?¥è¯´ï¼?ä½ å¹¶ä¸?é??è¦?使ç?¨æ??举类å??ã??ä¸?é?¢é?£äº?å®?é??é?½å?¯ä»¥æµ?缩æ??ä¸?个ç?¹æ®?ç??"int
+__bitwise"ç±»å??ã??
+
+æ??以æ?´ç®?å??ç??å??æ³?å?ªè¦?è¿?æ ·å??ï¼?
+
+ typedef int __bitwise pm_request_t;
+
+ #define PM_SUSPEND ((__force pm_request_t) 1)
+ #define PM_RESUME ((__force pm_request_t) 2)
+
+ç?°å?¨ä½ å°±æ??äº?ä¸¥æ ¼ç??ç±»å??æ£?æ?¥æ??é??è¦?ç??æ??æ??å?ºç¡?æ?¶æ??ã??
+
+ä¸?个å°?æ??é??ï¼?常æ?°æ?´æ?°"0"æ?¯ç?¹æ®?ç??ã??ä½ å?¯ä»¥ç?´æ?¥æ??常æ?°é?¶å½?ä½?ä½?æ?¹å¼?æ?´æ?°ä½¿ç?¨è??
+ä¸?ç?¨æ??å¿? sparse ä¼?æ?±æ?¨ã??è¿?æ?¯å? 为"bitwise"ï¼?æ?°å¦?å?¶å??ï¼?æ?¯ç?¨æ?¥ç¡®ä¿?ä¸?å??ä½?æ?¹
+å¼?ç±»å??ä¸?ä¼?被å¼?æ··ï¼?å°?尾模å¼?ï¼?大尾模å¼?ï¼?cpu尾模å¼?ï¼?æ??è??å?¶ä»?ï¼?ï¼?对ä»?们æ?¥è¯´
+常æ?°"0"ç¡®å®?æ?¯ç?¹æ®?ç??ã??
+
+è?·å?? sparse å·¥å?·
+~~~~~~~~~~~~~~~~
+
+ä½ å?¯ä»¥ä»? Sparse ç??主页è?·å??æ??æ?°ç??å??å¸?ç??æ?¬ï¼?
+
+ http://www.kernel.org/pub/linux/kernel/people/josh/sparse/
+
+æ??è??ï¼?ä½ ä¹?å?¯ä»¥ä½¿ç?¨ git å??é??æ??æ?°ç?? sparse å¼?å??ç??æ?¬ï¼?
+
+ git://git.kernel.org/pub/scm/linux/kernel/git/josh/sparse.git
+
+DaveJ æ??æ¯?å°?æ?¶è?ªå?¨ç??æ??ç?? git æº?ç ?æ ? tar å??æ?¾å?¨ä»¥ä¸?å?°å??ï¼?
+
+ http://www.codemonkey.org.uk/projects/git-snapshots/sparse/
+
+ä¸?æ?¦ä½ ä¸?è½½äº?æº?ç ?ï¼?å?ªè¦?以æ?®é??ç?¨æ?·èº«ä»½è¿?è¡?ï¼?
+
+ make
+ make install
+
+å®?å°?ä¼?被è?ªå?¨å®?è£?å?°ä½ ç?? ~/bin ç?®å½?ä¸?ã??
+
+使� sparse 工�
+~~~~~~~~~~~~~~~~
+
+ç?¨"make C=1"å?½ä»¤æ?¥ç¼?è¯?å??æ ¸ï¼?ä¼?对æ??æ??é??æ?°ç¼?è¯?ç?? C æ??件使ç?¨ sparse å·¥å?·ã??
+æ??è??使ç?¨"make C=2"å?½ä»¤ï¼?æ? 论æ??件æ?¯å?¦è¢«é??æ?°ç¼?è¯?é?½ä¼?对å?¶ä½¿ç?¨ sparse å·¥å?·ã??
+å¦?æ??ä½ å·²ç»?ç¼?è¯?äº?å??æ ¸ï¼?ç?¨å??ä¸?ç§?æ?¹å¼?å?¯ä»¥å¾?å¿«å?°æ£?æ?¥æ?´ä¸ªæº?ç ?æ ?ã??
+
+make ç??å?¯é??å??é?? CHECKFLAGS å?¯ä»¥ç?¨æ?¥å?? sparse å·¥å?·ä¼ é??å??æ?°ã??ç¼?è¯?ç³»ç»?ä¼?è?ª
+å?¨å?? sparse å·¥å?·ä¼ é?? -Wbitwise å??æ?°ã??ä½ å?¯ä»¥å®?ä¹? __CHECK_ENDIAN__ æ?¥è¿?è¡?
+大å°?å°¾æ£?æ?¥ã??
+
+ make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__"
+
+è¿?äº?æ£?æ?¥é»?认é?½æ?¯è¢«å?³é?ç??ï¼?å? 为ä»?们é??常ä¼?产ç??大é??ç??è¦å??ã??
--
1.5.3.8
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/