cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

page.h (274B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef ___ASM_SPARC_PAGE_H
      3#define ___ASM_SPARC_PAGE_H
      4
      5#define page_to_phys(page)	(page_to_pfn(page) << PAGE_SHIFT)
      6
      7#if defined(__sparc__) && defined(__arch64__)
      8#include <asm/page_64.h>
      9#else
     10#include <asm/page_32.h>
     11#endif
     12#endif