asm: Replace "__asm__ __volatile__" with "asm volatile"
In order to maintain the coding style consistency, it was requested to replace the methods that use "__asm__ __volatile__" with "asm volatile". Signed-off-by: Jesús Diéguez Fernández <jesusdf@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
9a0703b559
commit
3611c4f42e
8 changed files with 17 additions and 17 deletions
|
@ -66,7 +66,7 @@ grub_halt (void)
|
|||
#endif
|
||||
|
||||
/* Disable interrupts. */
|
||||
__asm__ __volatile__ ("cli");
|
||||
asm volatile ("cli");
|
||||
|
||||
/* Bochs, QEMU, etc. Removed in newer QEMU releases. */
|
||||
for (i = 0; i < sizeof (bochs_shutdown) - 1; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue