Logo
Explore Help
Sign In
genesi/linux-legacy
1
0
Fork 0
You've already forked linux-legacy
mirror of https://github.com/genesi/linux-legacy.git synced 2026-02-15 21:45:05 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
90ceb9644d7cdec00a90255473359a7e2bb537a9
linux-legacy/include/asm-generic/pgalloc.h

13 lines
303 B
C
Raw Normal View History

asm-generic: add generic NOMMU versions of some headers Memory management in generic is highly architecture specific, but on NOMMU architectures, it is mostly trivial, so just add a default implementation in asm-generic that applies to all NOMMU architectures. The two files cache.h and cacheflush.h can possibly also be used by architectures that have an MMU but never require flushing the cache or have cache lines larger than 32 bytes. Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2009-05-13 22:56:36 +00:00
#ifndef __ASM_GENERIC_PGALLOC_H
#define __ASM_GENERIC_PGALLOC_H
/*
* an empty file is enough for a nommu architecture
*/
#ifdef CONFIG_MMU
#error need to implement an architecture specific asm/pgalloc.h
#endif
#define check_pgt_cache() do { } while (0)
#endif /* __ASM_GENERIC_PGALLOC_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 94ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API