remove PTATTR_USER from the decision of ihk_mc_ap_flag in __set_pt_page

This commit is contained in:
NAKAMURA Gou
2013-06-19 10:43:15 +09:00
parent 32b8cc4651
commit ff5ee67d06
2 changed files with 6 additions and 3 deletions

View File

@@ -302,7 +302,7 @@ static int __set_pt_page(struct page_table *pt, void *virt, unsigned long phys,
struct page_table *newpt;
enum ihk_mc_ap_flag ap_flag;
ap_flag = (attr & (PTATTR_USER | PTATTR_FOR_USER)) ?
ap_flag = (attr & PTATTR_FOR_USER) ?
IHK_MC_AP_NOWAIT: IHK_MC_AP_CRITICAL;
if (!pt) {