diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-21 01:34:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-21 01:34:37 +0000 |
commit | d59b634a70f7c02b7db95ef1ccbc5030ec280d7c (patch) | |
tree | 0094ad3b0946055e37786f09903b09d49f7a096f /nuttx/lib | |
parent | d24bf915745de8e2c99e565c94d59a64ba24648c (diff) | |
download | px4-firmware-d59b634a70f7c02b7db95ef1ccbc5030ec280d7c.tar.gz px4-firmware-d59b634a70f7c02b7db95ef1ccbc5030ec280d7c.tar.bz2 px4-firmware-d59b634a70f7c02b7db95ef1ccbc5030ec280d7c.zip |
Optimized memset() can be configured to do 64-bit stores
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5244 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rw-r--r-- | nuttx/lib/string/lib_memset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/string/lib_memset.c b/nuttx/lib/string/lib_memset.c index 2828f1ff8..902a040c5 100644 --- a/nuttx/lib/string/lib_memset.c +++ b/nuttx/lib/string/lib_memset.c @@ -117,7 +117,7 @@ void *memset(void *s, int c, size_t n) n -= 4; } #else - /* Align to a 32-bit boundary */ + /* Check if there are at least 32-bits left to be zeroed */ if (n >= 4) { |