This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit a8ec8b8cd291e6edd7be269cb02b420925588d49
Author: Petro Karashchenko <[email protected]>
AuthorDate: Sat Aug 24 13:23:04 2024 -0400

    arch/x86_64: remove 'ul' sufix from shift value
    
    Signed-off-by: Petro Karashchenko <[email protected]>
---
 arch/x86_64/include/intel64/arch.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86_64/include/intel64/arch.h 
b/arch/x86_64/include/intel64/arch.h
index 8a41ae9285..c3511cb493 100644
--- a/arch/x86_64/include/intel64/arch.h
+++ b/arch/x86_64/include/intel64/arch.h
@@ -275,7 +275,7 @@
 #  define MSR_X2APIC_ICR_OTHERS        0x000c0000  /* Send to all APICs, 
excluding self. */
 #  define MSR_X2APIC_ICR_BUSY          0x00001000
 #  define MSR_X2APIC_ICR_FIXED         0x00000000
-#  define MSR_X2APIC_DESTINATION(d)    ((d) << 32ul)
+#  define MSR_X2APIC_DESTINATION(d)    ((d) << 32)
 #define MSR_X2APIC_LVTT         0x832
 #  define MSR_X2APIC_LVTT_X1           0x0000000B  /* divide counts by 1 */
 #  define MSR_X2APIC_LVTT_PERIODIC     0x00020000  /* Periodic */

Reply via email to