diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 15:55:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-05 19:55:20 +0300 |
commit | f5524c3fadba35c075a5131bad74e3041507a694 (patch) | |
tree | 918a602bcbf6841a66bbaa6e524e42aece4c8827 /arch/ia64 | |
parent | cc89c63e2fe37d476357c82390dfb12edcd41cdd (diff) | |
download | linux-f5524c3fadba35c075a5131bad74e3041507a694.tar.xz |
init: remove pointless Root_* values
Remove all unused defines, and just use the expanded versions for
the SCSI disk majors.
I've decided to keep Root_RAM0 even if it could be expanded as there
is a lot of special casing for it in the init code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230531125535.676098-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index c05728044272..becdb4f33c21 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c @@ -627,7 +627,7 @@ setup_arch (char **cmdline_p) * is physical disk 1 partition 1 and the Linux root disk is * physical disk 1 partition 2. */ - ROOT_DEV = Root_SDA2; /* default to second partition on first drive */ + ROOT_DEV = MKDEV(SCSI_DISK0_MAJOR, 2); if (is_uv_system()) uv_setup(cmdline_p); |