Commit 7a503673 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove unused macro MAP_ALIGN()

Patch from Christoph Hellwig <hch@lst.de>

remove unused macro MAP_ALIGN()
parent 9a7e870f
...@@ -325,11 +325,6 @@ static inline unsigned int num_online_memblks(void) ...@@ -325,11 +325,6 @@ static inline unsigned int num_online_memblks(void)
#define num_online_memblks() 1 #define num_online_memblks() 1
#endif /* CONFIG_DISCONTIGMEM || CONFIG_NUMA */ #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 /* !__ASSEMBLY__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _LINUX_MMZONE_H */ #endif /* _LINUX_MMZONE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment