Skip to contentSkip to conversation

bootsect.S compile warning fix

PATCH New Michael Buesch 1 participant 1 message Jul 6, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bootsect.S compile warning fix

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

fixes "Warning: extra tokens at end of #ifdef directive" compiletime warning:

- --- arch/i386/boot/bootsect.S.orig 2001-11-09 22:58:02.000000000 +0100
+++ arch/i386/boot/bootsect.S 2003-07-06 21:41:34.000000000 +0200
@@ -234,7 +234,8 @@

 die:   jne     die                     # %es must be at 64kB boundary
        xorw    %bx, %bx                # %bx is starting address within segment
 rp_read:
- -#ifdef __BIG_KERNEL__                  # look in setup.S for bootsect_kludge
+#ifdef __BIG_KERNEL__
+                                       # look in setup.S for bootsect_kludge
        bootsect_kludge = 0x220         # 0x200 + 0x20 which is the size of the
        lcall   bootsect_kludge         # bootsector + bootsect_kludge offset

#else

- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
21:41:40 up 2:16, 2 users, load average: 1.04, 1.39, 1.29

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/CHy2oxoigfggmSgRAjwEAJ9G2Qa/BWuhD7DJ6DwQDK2QNKuIDACePrQh oT8CqgpZYXCwHQ2uECHcYrU=
=Ic2J
-----END PGP SIGNATURE-----