#ifndef COLORS_H #define COLORS_H #define __reset "0" #define __bold "1" #define __black "30" #define __red "31" #define __green "32" #define __yellow "33" #define __blue "34" #define __magenta "35" #define __cyan "36" #define __white "37" #define __on_black "40" #define __on_red "41" #define __on_green "42" #define __on_yellow "43" #define __on_blue "44" #define __on_magenta "45" #define __on_cyan "46" #define __on_white "47" #endif /* COLORS_H */ > index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-08-10 16:27:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-10 16:40:56 -0700
commit3b33719c9b741066f7d2bc6036409752f8e0478d (patch)
tree292ce0ff8ea8a58f40b1ba120597fe22a32b719f
parenta545de5ce2ef3abc4db0b9331840acf59c8f9efa (diff)
thp: move shmem_huge_enabled() outside of SYSFS ifdef
The newly introduced shmem_huge_enabled() function has two definitions, but neither of them is visible if CONFIG_SYSFS is disabled, leading to a build error: mm/khugepaged.o: In function `khugepaged': khugepaged.c:(.text.khugepaged+0x3ca): undefined reference to `shmem_huge_enabled' This changes the #ifdef guards around the definition to match those that are used in the header file. Fixes: e496cf3d7821 ("thp: introduce CONFIG_TRANSPARENT_HUGE_PAGECACHE") Link: http://lkml.kernel.org/r/20160809123638.1357593-1-arnd@arndb.de Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat