Skip to contentSkip to conversation

Fix access_ok for xen/ia64

PATCH Tian, Kevin 1 participant 1 message Feb 27, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 21 lines

From: Tian Kevin
Sent: 2006年2月27日 22:40

Quoted 19 lines

From: Keir Fraser [mailto:[email protected]]
Sent: 2006年2月27日 21:51

Quoted 8 lines · Kevin

xen/ia64 uaccess is still linux style with different declaration as common xen. It's meaningless to patch original file with many #ifdef XEN, and so instead copy that file to create a new xen specific uaccess file, with unused lines removed. May need render later.

Or else it breaks compilation on xen-unstable.

Signed-off-by Kevin Tian <[email protected]>

Please, unless you are fixing a regression in unstable, these patches should be going to the ia64 mailing list and initially should be applied to the ia64-unstable tree.

Quoted 7 lines
Quoted 1 line

-- Keir

Yes, that's the fix to regression in unstable. Though the issue exists for a long time, but common code never triggers it until yesterday. ;-)

Thanks,
Kevin

To be clearer, the regression is seen with Cset 8972 which firstly uses access_ok in common code however ia64 has a different definition. Yes,
normally ia64 specific changes should go xen-ia64-devel. However
since I saw the compilation error on xen-unstable, I sent the fix to xen-devel to address it directly.

Sorry for vague description in patch, and let me know if any other issues.

Thanks,
Kevin