From ecfcedb9bf50130e87ed22a8581ab5f70b20eab3 Mon Sep 17 00:00:00 2001
From: 4lDO2 <4lDO2@protonmail.com>
Date: Fri, 18 Jun 2021 09:20:13 +0200
Subject: [PATCH] Remove explicit .intel_syntax directive.

It is now default, and the new compiler generated a lot of warnings now
that Intel syntax has (luckily) become the default.
---
 src/arch/x86_64/interrupt/handler.rs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/arch/x86_64/interrupt/handler.rs b/src/arch/x86_64/interrupt/handler.rs
index cde79a18..ac67cc85 100644
--- a/src/arch/x86_64/interrupt/handler.rs
+++ b/src/arch/x86_64/interrupt/handler.rs
@@ -202,9 +202,7 @@ impl InterruptErrorStack {
 macro_rules! intel_asm {
     ($($strings:expr,)+) => {
         global_asm!(concat!(
-            ".intel_syntax noprefix\n",
             $($strings),+,
-            ".att_syntax prefix\n",
         ));
     };
 }
-- 
GitLab