diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2007-02-10 04:43:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:20 -0500 |
commit | fabb626ad6a3744b9f0eaae215a2418d521c1e14 (patch) | |
tree | 9779db4be185ae054ae0753d79e1fae602726f9c /include/asm-m32r/unaligned.h | |
parent | 3d60f849341ac00e3dc47a3af94aaf9ba46d00fb (diff) |
[PATCH] m32r: cosmetic updates and trivial fixes
Cosmetic updates and trivial fixes of m32r arch-dependent files.
- Remove RCS ID strings and trailing white lines
- Other misc. cosmetic updates
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m32r/unaligned.h')
-rw-r--r-- | include/asm-m32r/unaligned.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-m32r/unaligned.h b/include/asm-m32r/unaligned.h index 3aef9ac8d3aa..fccc180c3913 100644 --- a/include/asm-m32r/unaligned.h +++ b/include/asm-m32r/unaligned.h | |||
@@ -1,10 +1,6 @@ | |||
1 | #ifndef _ASM_M32R_UNALIGNED_H | 1 | #ifndef _ASM_M32R_UNALIGNED_H |
2 | #define _ASM_M32R_UNALIGNED_H | 2 | #define _ASM_M32R_UNALIGNED_H |
3 | 3 | ||
4 | /* $Id$ */ | ||
5 | |||
6 | /* orig : generic 2.4.18 */ | ||
7 | |||
8 | /* | 4 | /* |
9 | * For the benefit of those who are trying to port Linux to another | 5 | * For the benefit of those who are trying to port Linux to another |
10 | * architecture, here are some C-language equivalents. | 6 | * architecture, here are some C-language equivalents. |
@@ -12,7 +8,6 @@ | |||
12 | 8 | ||
13 | #include <asm/string.h> | 9 | #include <asm/string.h> |
14 | 10 | ||
15 | |||
16 | #define get_unaligned(ptr) \ | 11 | #define get_unaligned(ptr) \ |
17 | ({ __typeof__(*(ptr)) __tmp; memmove(&__tmp, (ptr), sizeof(*(ptr))); __tmp; }) | 12 | ({ __typeof__(*(ptr)) __tmp; memmove(&__tmp, (ptr), sizeof(*(ptr))); __tmp; }) |
18 | 13 | ||
@@ -21,5 +16,4 @@ | |||
21 | memmove((ptr), &__tmp, sizeof(*(ptr))); \ | 16 | memmove((ptr), &__tmp, sizeof(*(ptr))); \ |
22 | (void)0; }) | 17 | (void)0; }) |
23 | 18 | ||
24 | 19 | #endif /* _ASM_M32R_UNALIGNED_H */ | |
25 | #endif /* _ASM_M32R_UNALIGNED_H */ | ||