Skip to content

Instantly share code, notes, and snippets.

@dileks
Created April 18, 2011 19:27
Show Gist options
  • Select an option

  • Save dileks/925992 to your computer and use it in GitHub Desktop.

Select an option

Save dileks/925992 to your computer and use it in GitHub Desktop.
$ LANG=C grep bm_pte -rn arch/x86/
$ LANG=C grep bm_pte -rn arch/x86/
Binary file arch/x86/built-in.o matches
Binary file arch/x86/mm/built-in.o matches
arch/x86/mm/ioremap.c:347:static pte_t bm_pte[PAGE_SIZE/sizeof(pte_t)] __page_aligned_bss;
arch/x86/mm/ioremap.c:362: return &bm_pte[pte_index(addr)];
arch/x86/mm/ioremap.c:367: return ptep >= &bm_pte[0] && ptep < &bm_pte[PAGE_SIZE/sizeof(pte_t)];
arch/x86/mm/ioremap.c:384: memset(bm_pte, 0, sizeof(bm_pte));
arch/x86/mm/ioremap.c:385: pmd_populate_kernel(&init_mm, pmd, bm_pte);
Binary file arch/x86/mm/ioremap.o matches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment