summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-sa1100/simpad.h2
-rw-r--r--include/asm-m68k/page.h2
-rw-r--r--include/asm-s390/types.h2
-rw-r--r--include/asm-s390x/types.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-arm/arch-sa1100/simpad.h b/include/asm-arm/arch-sa1100/simpad.h
index 4f9e10343b30..1527250bd0eb 100644
--- a/include/asm-arm/arch-sa1100/simpad.h
+++ b/include/asm-arm/arch-sa1100/simpad.h
@@ -46,7 +46,7 @@
#define IRQ_GPIO_CF_IRQ IRQ_GPIO1
#define IRQ_GPIO_CF_CD IRQ_GPIO24
-// CS3 Latch is write only, a shadow is neccessary
+// CS3 Latch is write only, a shadow is necessary
#define CS3BUSTYPE unsigned volatile long
#define CS3_BASE 0xf1000000
diff --git a/include/asm-m68k/page.h b/include/asm-m68k/page.h
index 6c09c4f01e07..f6c1eaf22a2c 100644
--- a/include/asm-m68k/page.h
+++ b/include/asm-m68k/page.h
@@ -164,7 +164,7 @@ static inline void *__va(unsigned long x)
* NOTE: virtual isn't really correct, actually it should be the offset into the
* memory node, but we have no highmem, so that works for now.
* TODO: implement (fast) pfn<->pgdat_idx conversion functions, this makes lots
- * of the shifts unneccessary.
+ * of the shifts unnecessary.
*/
#define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT)
#define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
diff --git a/include/asm-s390/types.h b/include/asm-s390/types.h
index dc52bf8a7acb..fc16a65a356b 100644
--- a/include/asm-s390/types.h
+++ b/include/asm-s390/types.h
@@ -32,7 +32,7 @@ typedef __signed__ long long __s64;
typedef unsigned long long __u64;
#endif
/* A address type so that arithmetic can be done on it & it can be upgraded to
- 64 bit when neccessary
+ 64 bit when necessary
*/
typedef __u32 addr_t;
typedef __s32 saddr_t;
diff --git a/include/asm-s390x/types.h b/include/asm-s390x/types.h
index 2ee9dcb2260b..1163af6aec8d 100644
--- a/include/asm-s390x/types.h
+++ b/include/asm-s390x/types.h
@@ -32,7 +32,7 @@ typedef unsigned long __u64;
/*
* A address type so that arithmetic can be done on it & it can be upgraded to
- * 64 bit when neccessary
+ * 64 bit when necessary
*/
typedef unsigned long addr_t;