aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/unaligned.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-08-29 21:44:33 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-29 21:44:33 -0700
commit8bc2bee26bc7ba77eb1ffc3e3282002d9893cf09 (patch)
treee7c85eca8d55007b0a467b99820820cd40ef4963 /include/asm-ppc/unaligned.h
parent826509f8110049663799bc20f2b5b6170e2f78ca (diff)
parent8913ca1c9ccb5eb6471afd419159729eef6e2730 (diff)
downloadkernel_samsung_smdk4412-8bc2bee26bc7ba77eb1ffc3e3282002d9893cf09.zip
kernel_samsung_smdk4412-8bc2bee26bc7ba77eb1ffc3e3282002d9893cf09.tar.gz
kernel_samsung_smdk4412-8bc2bee26bc7ba77eb1ffc3e3282002d9893cf09.tar.bz2
Merge HEAD from master.kernel.org:/pub/scm/linux/kernel/git/paulus/ppc64-2.6
Diffstat (limited to 'include/asm-ppc/unaligned.h')
-rw-r--r--include/asm-ppc/unaligned.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/asm-ppc/unaligned.h b/include/asm-ppc/unaligned.h
deleted file mode 100644
index 45520d9..0000000
--- a/include/asm-ppc/unaligned.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifdef __KERNEL__
-#ifndef __PPC_UNALIGNED_H
-#define __PPC_UNALIGNED_H
-
-/*
- * The PowerPC can do unaligned accesses itself in big endian mode.
- *
- * The strange macros are there to make sure these can't
- * be misused in a way that makes them not work on other
- * architectures where unaligned accesses aren't as simple.
- */
-
-#define get_unaligned(ptr) (*(ptr))
-
-#define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
-
-#endif
-#endif /* __KERNEL__ */