RE: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-17 Thread Zheng, Lv
Hi, Tony > From: Luck, Tony > Sent: Friday, February 14, 2014 7:35 AM > > >All definitions are equal except ACPI_UINT64_MAX for CONFIG_IA64. It > >is changed from sizeof(unsigned long) to sizeof(unsigned long long). > >By investigation, 64bit Linux kernel build is LP64 compliant,

RE: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-17 Thread Zheng, Lv
Hi, Tony From: Luck, Tony Sent: Friday, February 14, 2014 7:35 AM All definitions are equal except ACPI_UINT64_MAX for CONFIG_IA64. It is changed from sizeof(unsigned long) to sizeof(unsigned long long). By investigation, 64bit Linux kernel build is LP64 compliant, i.e.,

Re: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-13 Thread Rafael J. Wysocki
On Thursday, February 13, 2014 11:34:45 PM Luck, Tony wrote: > >All definitions are equal except ACPI_UINT64_MAX for CONFIG_IA64. It > >is changed from sizeof(unsigned long) to sizeof(unsigned long long). > >By investigation, 64bit Linux kernel build is LP64 compliant, i.e., > >

RE: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-13 Thread Luck, Tony
>All definitions are equal except ACPI_UINT64_MAX for CONFIG_IA64. It >is changed from sizeof(unsigned long) to sizeof(unsigned long long). >By investigation, 64bit Linux kernel build is LP64 compliant, i.e., >sizeof(long) and (pointer) are 64. As sizeof(unsigned long) equals to

RE: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-13 Thread Luck, Tony
All definitions are equal except ACPI_UINT64_MAX for CONFIG_IA64. It is changed from sizeof(unsigned long) to sizeof(unsigned long long). By investigation, 64bit Linux kernel build is LP64 compliant, i.e., sizeof(long) and (pointer) are 64. As sizeof(unsigned long) equals to

Re: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-13 Thread Rafael J. Wysocki
On Thursday, February 13, 2014 11:34:45 PM Luck, Tony wrote: All definitions are equal except ACPI_UINT64_MAX for CONFIG_IA64. It is changed from sizeof(unsigned long) to sizeof(unsigned long long). By investigation, 64bit Linux kernel build is LP64 compliant, i.e.,

RE: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-12 Thread Zheng, Lv
ki, Rafael J; Brown, Len > Cc: Zheng, Lv; Lv Zheng; linux-kernel@vger.kernel.org; > linux-a...@vger.kernel.org; Luck, Tony; Yu, Fenghua > Subject: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on > integer types. > > Remove translation protection for applications as L

RE: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-12 Thread Zheng, Lv
, Len Cc: Zheng, Lv; Lv Zheng; linux-kernel@vger.kernel.org; linux-a...@vger.kernel.org; Luck, Tony; Yu, Fenghua Subject: [PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types. Remove translation protection for applications as Linux tools folder will start to use

[PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-10 Thread Lv Zheng
Remove translation protection for applications as Linux tools folder will start to use such types. In Linux kernel source tree, after removing this translation protection, the u8/u16/u32/u64/s32/s64 typedefs are exposed for both __KERNEL__ builds and !__KERNEL__ builds (tools/power/acpi) and the

[PATCH 2/2] ACPICA: acpidump: Remove translation protection on integer types.

2014-02-10 Thread Lv Zheng
Remove translation protection for applications as Linux tools folder will start to use such types. In Linux kernel source tree, after removing this translation protection, the u8/u16/u32/u64/s32/s64 typedefs are exposed for both __KERNEL__ builds and !__KERNEL__ builds (tools/power/acpi) and the