X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Fparisc%2Finclude%2Fasm%2Fpgtable.h;h=ea357430aafeb42733fe3b01bfa158328eb16e51;hb=35f79d0e2c98ff6ecb9b5fc33113158dc7f7353c;hp=68ae77069d23f0b148e6595377ad49ec4e0a5490;hpb=4934fbfb3ff09b8500f63d4624ed8b41647bb822;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/arch/parisc/include/asm/pgtable.h b/arch/parisc/include/asm/pgtable.h index 68ae770..ea35743 100644 --- a/arch/parisc/include/asm/pgtable.h +++ b/arch/parisc/include/asm/pgtable.h @@ -23,21 +23,6 @@ #include #include -/* - * kern_addr_valid(ADDR) tests if ADDR is pointing to valid kernel - * memory. For the return value to be meaningful, ADDR must be >= - * PAGE_OFFSET. This operation can be relatively expensive (e.g., - * require a hash-, or multi-level tree-lookup or something of that - * sort) but it guarantees to return TRUE only if accessing the page - * at that address does not cause an error. Note that there may be - * addresses for which kern_addr_valid() returns FALSE even though an - * access would not cause an error (e.g., this is typically true for - * memory mapped I/O regions. - * - * XXX Need to implement this for parisc. - */ -#define kern_addr_valid(addr) (1) - /* This is for the serialization of PxTLB broadcasts. At least on the N class * systems, only one PxTLB inter processor broadcast can be active at any one * time on the Merced bus. */