Commit 972dc4d
hugetlb: add an inline helper for finding hstate index
Add an inline helper and use it in the code.
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Acked-by: David Rientjes <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>1 parent 76dcee7 commit 972dc4d
2 files changed
+17
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
305 | 310 | | |
306 | 311 | | |
307 | 312 | | |
| |||
320 | 325 | | |
321 | 326 | | |
322 | 327 | | |
| 328 | + | |
323 | 329 | | |
324 | 330 | | |
325 | 331 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1646 | 1646 | | |
1647 | 1647 | | |
1648 | 1648 | | |
1649 | | - | |
| 1649 | + | |
1650 | 1650 | | |
1651 | 1651 | | |
1652 | 1652 | | |
| |||
1741 | 1741 | | |
1742 | 1742 | | |
1743 | 1743 | | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
1747 | | - | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
1748 | 1749 | | |
| 1750 | + | |
1749 | 1751 | | |
1750 | 1752 | | |
1751 | 1753 | | |
| |||
1848 | 1850 | | |
1849 | 1851 | | |
1850 | 1852 | | |
1851 | | - | |
| 1853 | + | |
1852 | 1854 | | |
1853 | 1855 | | |
1854 | 1856 | | |
| |||
1869 | 1871 | | |
1870 | 1872 | | |
1871 | 1873 | | |
1872 | | - | |
| 1874 | + | |
1873 | 1875 | | |
1874 | 1876 | | |
1875 | 1877 | | |
| |||
2687 | 2689 | | |
2688 | 2690 | | |
2689 | 2691 | | |
2690 | | - | |
| 2692 | + | |
2691 | 2693 | | |
2692 | 2694 | | |
2693 | 2695 | | |
| |||
2760 | 2762 | | |
2761 | 2763 | | |
2762 | 2764 | | |
2763 | | - | |
| 2765 | + | |
2764 | 2766 | | |
2765 | 2767 | | |
2766 | 2768 | | |
| |||
0 commit comments