summaryrefslogtreecommitdiff
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-12-21 02:02:04 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-21 02:02:04 -0800
commit7a5036732266d682bc692bc5e35840fae2d9f16e (patch)
tree28c25d06e7cf876a6e231d1022beb166d701a075 /include/linux/mmzone.h
parent9a7e870fd78b2dbd3191b62b5e4c734c59c23dc4 (diff)
[PATCH] remove unused macro MAP_ALIGN()
Patch from Christoph Hellwig <hch@lst.de> remove unused macro MAP_ALIGN()
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 30b38f9efce4..14ce2049de71 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -325,11 +325,6 @@ static inline unsigned int num_online_memblks(void)
#define num_online_memblks() 1
#endif /* CONFIG_DISCONTIGMEM || CONFIG_NUMA */
-
-
-#define MAP_ALIGN(x) ((((x) % sizeof(struct page)) == 0) ? (x) : ((x) + \
- sizeof(struct page) - ((x) % sizeof(struct page))))
-
#endif /* !__ASSEMBLY__ */
#endif /* __KERNEL__ */
#endif /* _LINUX_MMZONE_H */