Commit bb7dbaa
mm: remove checks for pte_index
Since pte_index is always defined, we don't need to check whether it's
defined or not. Delete the slow version that doesn't depend on it and
remove the #define since nobody needs to test for it.
Link: https://lkml.kernel.org/r/20230819031837.3160096-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Christian Dietrich <stettberger@dokucode.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>1 parent 14a405c commit bb7dbaa
2 files changed
Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1869 | 1869 | | |
1870 | 1870 | | |
1871 | 1871 | | |
1872 | | - | |
1873 | 1872 | | |
1874 | 1873 | | |
1875 | 1874 | | |
| |||
1884 | 1883 | | |
1885 | 1884 | | |
1886 | 1885 | | |
1887 | | - | |
| 1886 | + | |
1888 | 1887 | | |
1889 | 1888 | | |
1890 | 1889 | | |
| |||
1943 | 1942 | | |
1944 | 1943 | | |
1945 | 1944 | | |
1946 | | - | |
1947 | 1945 | | |
1948 | 1946 | | |
1949 | 1947 | | |
| |||
1963 | 1961 | | |
1964 | 1962 | | |
1965 | 1963 | | |
1966 | | - | |
1967 | 1964 | | |
1968 | 1965 | | |
1969 | 1966 | | |
| |||
1975 | 1972 | | |
1976 | 1973 | | |
1977 | 1974 | | |
1978 | | - | |
1979 | | - | |
1980 | | - | |
1981 | | - | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
1985 | | - | |
1986 | | - | |
1987 | | - | |
1988 | | - | |
1989 | | - | |
1990 | 1975 | | |
1991 | 1976 | | |
1992 | 1977 | | |
| |||
0 commit comments