diff options
author | 2021-09-21 12:00:04 -0700 | |
---|---|---|
committer | 2021-09-21 12:00:04 -0700 | |
commit | e89c73333c5c95a04c17a0b0fe6bc9a70b17237a (patch) | |
tree | bc82a0dc0647e9b97c7a42bb00522403ba73911a /src | |
parent | f9cce7be3da4f8b1f748da36deb4c87f2716804f (diff) | |
download | rust-x86-e89c73333c5c95a04c17a0b0fe6bc9a70b17237a.tar.gz rust-x86-e89c73333c5c95a04c17a0b0fe6bc9a70b17237a.tar.zst rust-x86-e89c73333c5c95a04c17a0b0fe6bc9a70b17237a.zip |
Fix int! macro.
Diffstat (limited to 'src')
-rw-r--r-- | src/irq.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -368,7 +368,7 @@ pub unsafe fn disable() { #[macro_export] macro_rules! int { ($x:expr) => {{ - asm!("int $0" :: "N" ($x)); + asm!("int ${vec}", vec = const ($x)); }}; } |