// SPDX-License-Identifier: GPL-2.0 /* * hibernate.c: Hibernaton support specific for sparc64. * * Copyright (C) 2013 Kirill V Tkhai (tkhai@yandex.ru) */ #include <linux/mm.h> #include <asm/hibernate.h> #include <asm/visasm.h> #include <asm/page.h> #include <asm/sections.h> #include <asm/tlb.h> struct saved_context saved_context; /* * pfn_is_nosave - check if given pfn is in the 'nosave' section */
int pfn_is_nosave(unsigned long pfn) { unsigned long nosave_begin_pfn = PFN_DOWN((unsigned long)&__nosave_begin); unsigned long nosave_end_pfn = PFN_DOWN((unsigned long)&__nosave_end); return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kirill V Tkhai | 50 | 100.00% | 1 | 100.00% |
Total | 50 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Kirill V Tkhai | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Kirill V Tkhai | 22 | 78.57% | 1 | 50.00% |
Rob Gardner | 6 | 21.43% | 1 | 50.00% |
Total | 28 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Kirill V Tkhai | 102 | 90.27% | 1 | 25.00% |
Rob Gardner | 6 | 5.31% | 1 | 25.00% |
Geert Uytterhoeven | 4 | 3.54% | 1 | 25.00% |
Greg Kroah-Hartman | 1 | 0.88% | 1 | 25.00% |
Total | 113 | 100.00% | 4 | 100.00% |