Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82865
b: refs/heads/master
c: 9b42393
h: refs/heads/master
i:
  82863: 2e371db
v: v3
  • Loading branch information
Harvey Harrison authored and Ingo Molnar committed Feb 4, 2008
1 parent 0a33d13 commit c88a4e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9a6b344ea967efa0bb5ca4cb5405f840652b66c4
refs/heads/master: 9b4239346136f1432e52d14ea88f4b2662876f4a
8 changes: 4 additions & 4 deletions trunk/include/asm-x86/string_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,14 @@ static __always_inline void * __constant_c_and_count_memset(void * s, unsigned l
case 0:
return s;
case 1:
*(unsigned char *)s = pattern;
*(unsigned char *)s = pattern & 0xff;
return s;
case 2:
*(unsigned short *)s = pattern;
*(unsigned short *)s = pattern & 0xffff;
return s;
case 3:
*(unsigned short *)s = pattern;
*(2+(unsigned char *)s) = pattern;
*(unsigned short *)s = pattern & 0xffff;
*(2+(unsigned char *)s) = pattern & 0xff;
return s;
case 4:
*(unsigned long *)s = pattern;
Expand Down

0 comments on commit c88a4e7

Please sign in to comment.