um: Remove the redundant declaration of high_physmem
authorTiwei Bie <tiwei.btw@antgroup.com>
Mon, 16 Sep 2024 04:59:47 +0000 (12:59 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 10 Oct 2024 10:02:12 +0000 (12:02 +0200)
commit855f6e18dff26fb13968a73998b0d0ff38865b51
tree820f49b5369f8a2805c9c6e89eb1b89dcc30a52c
parent797d3688f98667006e12dbc657ca6ac29ea4a71b
um: Remove the redundant declaration of high_physmem

high_physmem has already been declared in as-layout.h, so there is
no need to declare it explicitly in the .c file again.

While at it, group the declarations of __real_malloc and __real_free
together to make the code slightly more readable.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20240916045950.508910-2-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/os-Linux/main.c